Click here to Skip to main content
15,915,828 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to pass a string from a vb.net dll to C++ dll Pin
retZ29-May-07 9:24
retZ29-May-07 9:24 
AnswerRe: How to pass a string from a vb.net dll to C++ dll Pin
Dave Kreskowiak29-May-07 9:49
mveDave Kreskowiak29-May-07 9:49 
GeneralRe: How to pass a string from a vb.net dll to C++ dll Pin
retZ29-May-07 11:28
retZ29-May-07 11:28 
QuestionDataSet auto increment problem Pin
Quecumber25629-May-07 7:54
Quecumber25629-May-07 7:54 
AnswerRe: DataSet auto increment problem Pin
Dave Kreskowiak29-May-07 8:22
mveDave Kreskowiak29-May-07 8:22 
GeneralRe: DataSet auto increment problem Pin
Quecumber25629-May-07 9:02
Quecumber25629-May-07 9:02 
GeneralRe: DataSet auto increment problem Pin
Dave Kreskowiak29-May-07 9:44
mveDave Kreskowiak29-May-07 9:44 
GeneralRe: DataSet auto increment problem Pin
Quecumber25629-May-07 10:28
Quecumber25629-May-07 10:28 
Dave,
I know the DataSet is an Array type object. Whenever data is added to an empty array it starts at 0 and increments by one. So information in a DataSet before it is appended to the database looks like this:

0 Record 1
1 Record 2
2 Record 3
And so on.

The id column in the database will store it in this manner:

1 Record 1
2 Record 2
3 Record 3
and so on.

I must have missed something with the DataAdapter because when I tried to add a new record to the dataset after populating it with data returned from the database I got something like this:

1 <blank>
2 Record 2
3 Record 3
4 Record 4 <the added="" record="">

Can you tell me what I did wrong?

Quecumber256
GeneralRe: DataSet auto increment problem Pin
Dave Kreskowiak29-May-07 10:56
mveDave Kreskowiak29-May-07 10:56 
AnswerRe: DataSet auto increment problem Pin
kubben29-May-07 8:31
kubben29-May-07 8:31 
GeneralRe: DataSet auto increment problem Pin
Quecumber25629-May-07 9:31
Quecumber25629-May-07 9:31 
GeneralRe: DataSet auto increment problem Pin
kubben29-May-07 14:47
kubben29-May-07 14:47 
Questioninsert listbox items into database Pin
jds120729-May-07 7:49
jds120729-May-07 7:49 
AnswerRe: insert listbox items into database Pin
Dave Sexton29-May-07 8:05
Dave Sexton29-May-07 8:05 
GeneralRe: insert listbox items into database Pin
jds120729-May-07 8:30
jds120729-May-07 8:30 
GeneralRe: insert listbox items into database Pin
Dave Sexton29-May-07 22:04
Dave Sexton29-May-07 22:04 
Questionhow to show video properties Pin
somchoto29-May-07 7:43
somchoto29-May-07 7:43 
Questionsearch for files Pin
jds120729-May-07 4:20
jds120729-May-07 4:20 
QuestionCallByName Pin
advansis29-May-07 4:11
advansis29-May-07 4:11 
AnswerRe: CallByName Pin
Dave Kreskowiak29-May-07 6:56
mveDave Kreskowiak29-May-07 6:56 
AnswerRe: CallByName Pin
Ian Shlasko29-May-07 11:06
Ian Shlasko29-May-07 11:06 
GeneralRe: CallByName Pin
Dave Kreskowiak29-May-07 13:23
mveDave Kreskowiak29-May-07 13:23 
QuestionWhat is the conversion between postscript points to em? Pin
Marcus J. Smith29-May-07 2:00
professionalMarcus J. Smith29-May-07 2:00 
AnswerRe: What is the conversion between postscript points to em? Pin
advansis29-May-07 4:18
advansis29-May-07 4:18 
QuestionThis field cannot be summarized Pin
Rm_alamami29-May-07 1:24
Rm_alamami29-May-07 1:24 

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.