Click here to Skip to main content
16,004,977 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Database Pin
helelark12324-Sep-07 4:37
helelark12324-Sep-07 4:37 
QuestionConcurrency Violation: the update command affected 0 of the expected 1 records.? Pin
Mr Oizo24-Sep-07 0:42
Mr Oizo24-Sep-07 0:42 
AnswerRe: Concurrency Violation: the update command affected 0 of the expected 1 records.? Pin
GuyThiebaut24-Sep-07 1:46
professionalGuyThiebaut24-Sep-07 1:46 
GeneralRe: Concurrency Violation: the update command affected 0 of the expected 1 records.? Pin
Mr Oizo24-Sep-07 4:49
Mr Oizo24-Sep-07 4:49 
GeneralRe: Concurrency Violation: the update command affected 0 of the expected 1 records.? Pin
Dave Kreskowiak24-Sep-07 4:56
mveDave Kreskowiak24-Sep-07 4:56 
AnswerRe: Concurrency Violation: the update command affected 0 of the expected 1 records.? Pin
Dave Kreskowiak24-Sep-07 4:12
mveDave Kreskowiak24-Sep-07 4:12 
GeneralRe: Concurrency Violation: the update command affected 0 of the expected 1 records.? Pin
Mr Oizo24-Sep-07 5:04
Mr Oizo24-Sep-07 5:04 
GeneralRe: Concurrency Violation: the update command affected 0 of the expected 1 records.? Pin
GuyThiebaut24-Sep-07 5:24
professionalGuyThiebaut24-Sep-07 5:24 
Okay - there is the issue.

You mentioned Access database - well you need a unique index in order to be able to update a table in Access - or at least I always have needed on with Access databases and VB .NET .

I mentioned GUID as it is the easiest way of ensuring you have a completely unique key - actually I have come across non unique GUIDs in my career.

For a less heavy option, GUIDS can take space in your table, you could create a composite key i.e. a key made up of multiple fields such as artist, album and songname.

However you could still have issues which is why in my opinion if space is not an issue a GUID is very useful.



You always pass failure on the way to success.

GeneralRe: Concurrency Violation: the update command affected 0 of the expected 1 records.? Pin
Mr Oizo24-Sep-07 6:47
Mr Oizo24-Sep-07 6:47 
GeneralRe: Concurrency Violation: the update command affected 0 of the expected 1 records.? Pin
GuyThiebaut24-Sep-07 8:14
professionalGuyThiebaut24-Sep-07 8:14 
Questionhow to create dynamic textbox object [modified] Pin
moomoooomoo24-Sep-07 0:13
moomoooomoo24-Sep-07 0:13 
AnswerRe: how to create dynamic textbox object Pin
Ajay.k_Singh24-Sep-07 0:39
Ajay.k_Singh24-Sep-07 0:39 
GeneralRe: how to create dynamic textbox object Pin
moomoooomoo24-Sep-07 0:51
moomoooomoo24-Sep-07 0:51 
QuestionByte to IntPtr Pin
nitin323-Sep-07 23:59
nitin323-Sep-07 23:59 
AnswerRe: Byte to IntPtr Pin
Tom Deketelaere24-Sep-07 0:05
professionalTom Deketelaere24-Sep-07 0:05 
AnswerRe: Byte to IntPtr Pin
Luc Pattyn24-Sep-07 0:19
sitebuilderLuc Pattyn24-Sep-07 0:19 
QuestionRemoting Pin
sunder vel23-Sep-07 23:55
sunder vel23-Sep-07 23:55 
AnswerRe: Remoting Pin
Tom Deketelaere24-Sep-07 0:03
professionalTom Deketelaere24-Sep-07 0:03 
Questionfullname property of subdirectory? Pin
eyeball_200323-Sep-07 23:43
eyeball_200323-Sep-07 23:43 
AnswerRe: fullname property of subdirectory? Pin
Pete O'Hanlon23-Sep-07 23:59
mvePete O'Hanlon23-Sep-07 23:59 
GeneralRe: fullname property of subdirectory? Pin
eyeball_200324-Sep-07 0:11
eyeball_200324-Sep-07 0:11 
GeneralRe: fullname property of subdirectory? Pin
Luc Pattyn24-Sep-07 0:22
sitebuilderLuc Pattyn24-Sep-07 0:22 
GeneralRe: fullname property of subdirectory? Pin
eyeball_200324-Sep-07 1:13
eyeball_200324-Sep-07 1:13 
QuestionHandling combobox_selectedindexchanged event in gridview control Pin
Pradip Kishore23-Sep-07 22:08
Pradip Kishore23-Sep-07 22:08 
QuestionDoes any one know how to fix this adodc control problem? [modified] Pin
zhyuanshan23-Sep-07 21:56
zhyuanshan23-Sep-07 21:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.