Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to use MS DTC in dotnet? Pin
evr7629-May-03 5:41
evr7629-May-03 5:41 
AnswerRe: How to use MS DTC in dotnet? Pin
rexxxa29-May-03 15:44
rexxxa29-May-03 15:44 
GeneralSafeArray Pin
vikramlinux28-May-03 23:30
vikramlinux28-May-03 23:30 
GeneralRe: SafeArray Pin
apferreira29-May-03 0:11
apferreira29-May-03 0:11 
GeneralUnique numbers in SQL Pin
totig28-May-03 23:18
totig28-May-03 23:18 
GeneralRe: Unique numbers in SQL Pin
totig29-May-03 6:02
totig29-May-03 6:02 
GeneralRe: Unique numbers in SQL Pin
leppie29-May-03 7:56
leppie29-May-03 7:56 
GeneralRe: Unique numbers in SQL Pin
Adam Turner29-May-03 15:07
Adam Turner29-May-03 15:07 
You could also setup in the DataSet that the column is auto-increment. So whenever you insert a new record, it will create a new ID for you.

There is a problem with this though, as the ID always starts at 1 (or if populated from the Db, the last ID). So if your DB has 5 records in it with IDs of 1 though 5. And you retrieve ID 3 into your DataSet and add a new record, the ID will be 4. Now if you try to save it back to the database, it will error.

Hope this helps
GeneralUp, Down, Left. Right in DataGrid can not be trapped Pin
sajecw28-May-03 20:08
sajecw28-May-03 20:08 
GeneralRe: Up, Down, Left. Right in DataGrid can not be trapped Pin
Rocky Moore28-May-03 22:03
Rocky Moore28-May-03 22:03 
QuestionHow do I know the Width & Height of physical screen Pin
JeffSayHi28-May-03 16:45
JeffSayHi28-May-03 16:45 
AnswerRe: How do I know the Width & Height of physical screen Pin
Mazdak28-May-03 19:09
Mazdak28-May-03 19:09 
GeneralRe: How do I know the Width & Height of physical screen Pin
JeffSayHi28-May-03 20:30
JeffSayHi28-May-03 20:30 
GeneralRe: How do I know the Width & Height of physical screen Pin
Nick Parker29-May-03 3:05
protectorNick Parker29-May-03 3:05 
GeneralConfig files Pin
Kant28-May-03 11:47
Kant28-May-03 11:47 
GeneralRe: Config files Pin
Ranjan Banerji29-May-03 3:54
Ranjan Banerji29-May-03 3:54 
GeneralRe: Config files Pin
Kant29-May-03 5:57
Kant29-May-03 5:57 
GeneralRe: Config files Pin
Ranjan Banerji29-May-03 7:59
Ranjan Banerji29-May-03 7:59 
GeneralRe: Config files Pin
Kant29-May-03 12:31
Kant29-May-03 12:31 
GeneralUML for C# Pin
Eric Astor28-May-03 11:05
Eric Astor28-May-03 11:05 
GeneralRe: UML for C# Pin
J. Dunlap28-May-03 11:15
J. Dunlap28-May-03 11:15 
GeneralRe: UML for C# Pin
Tomas Petricek28-May-03 13:15
Tomas Petricek28-May-03 13:15 
GeneralRe: UML for C# Pin
KingTermite29-May-03 7:42
KingTermite29-May-03 7:42 
GeneralRe: UML for C# Pin
Anonymous18-Jun-03 9:44
Anonymous18-Jun-03 9:44 
GeneralMystery of the missing line control Pin
RB@Emphasys28-May-03 8:48
RB@Emphasys28-May-03 8:48 

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.