Click here to Skip to main content
15,913,722 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Object serialization problem Pin
Columbus-MCSD4-Sep-11 17:53
Columbus-MCSD4-Sep-11 17:53 
QuestionI am getting this kind of error,pls help Pin
jitendra rajbher30-Aug-11 23:43
jitendra rajbher30-Aug-11 23:43 
AnswerRe: I am getting this kind of error,pls help Pin
Dave Kreskowiak31-Aug-11 2:09
mveDave Kreskowiak31-Aug-11 2:09 
GeneralRe: I am getting this kind of error,pls help Pin
jitendra rajbher31-Aug-11 3:43
jitendra rajbher31-Aug-11 3:43 
GeneralRe: I am getting this kind of error,pls help Pin
Shameel31-Aug-11 4:19
professionalShameel31-Aug-11 4:19 
GeneralThanks,but I saw that code but i am not able to see may data Pin
jitendra rajbher31-Aug-11 20:47
jitendra rajbher31-Aug-11 20:47 
GeneralRe: I am getting this kind of error,pls help Pin
Dave Kreskowiak31-Aug-11 5:40
mveDave Kreskowiak31-Aug-11 5:40 
QuestionIn VB .NET how do we get the new row ID number in an access database table BEFORE inserting the new row? Pin
aeskan30-Aug-11 4:12
aeskan30-Aug-11 4:12 
I'm programming with VB .NET 2010 and using a Microsoft Access Database file which is bound to my project as a Dataset. Now I want to know: BEFORE inserting a new row into my dataset table what will be the new ID number, or totally is it possible to know?

Surely you know the autonumber ID of a table is different with row count number, for there may be deleted rows between the table rows. Like the following example:

Row 0: ID=1
Row 1: ID=2
Row 2: ID=4 (ID number 3 is deleted)
Row 3: ID=5
Row 4: ID=9 (ID numbers 6,7,8 are deleted)

Now how do we know what ID number of Row 5 will be before inserting the new row? Perhaps ID numbers 10 and 11 are either deleted or not, so it may be 10, may be 11 or 12 or whatever! Is there a way to know it BEFORE adding or inserting the new row into the table?

Thank you beforehand.
AnswerRe: In VB .NET how do we get the new row ID number in an access database table BEFORE inserting the new row? Pin
Pete O'Hanlon30-Aug-11 4:17
mvePete O'Hanlon30-Aug-11 4:17 
GeneralRe: In VB .NET how do we get the new row ID number in an access database table BEFORE inserting the new row? Pin
aeskan30-Aug-11 9:38
aeskan30-Aug-11 9:38 
AnswerRe: In VB .NET how do we get the new row ID number in an access database table BEFORE inserting the new row? Pin
Jitheshvijayan8-Sep-11 20:55
Jitheshvijayan8-Sep-11 20:55 
GeneralRe: In VB .NET how do we get the new row ID number in an access database table BEFORE inserting the new row? Pin
aeskan8-Sep-11 22:40
aeskan8-Sep-11 22:40 
QuestionNot able to find Event icon in Property window [modified] Pin
KIDYA29-Aug-11 21:24
KIDYA29-Aug-11 21:24 
AnswerRe: Not able to find Event icon in Property window Pin
RobCroll30-Aug-11 2:10
RobCroll30-Aug-11 2:10 
Questionhow to implement OOP in vb.net? Pin
visualst29-Aug-11 19:47
visualst29-Aug-11 19:47 
AnswerRe: how to implement OOP in vb.net? Pin
Bert Mitton31-Aug-11 3:17
professionalBert Mitton31-Aug-11 3:17 
GeneralRe: how to implement OOP in vb.net? Pin
visualst2-Sep-11 0:33
visualst2-Sep-11 0:33 
QuestionRe: how to implement OOP in vb.net? Pin
Bert Mitton3-Sep-11 6:43
professionalBert Mitton3-Sep-11 6:43 
AnswerRe: how to implement OOP in vb.net? Pin
Abhinav S31-Aug-11 3:47
Abhinav S31-Aug-11 3:47 
GeneralRe: how to implement OOP in vb.net? Pin
visualst2-Sep-11 0:35
visualst2-Sep-11 0:35 
Questionwebste Pin
qaiser farooq29-Aug-11 12:38
qaiser farooq29-Aug-11 12:38 
QuestionListBox in vb.net Pin
rnel28-Aug-11 1:39
rnel28-Aug-11 1:39 
AnswerRe: ListBox in vb.net Pin
Abhinav S28-Aug-11 2:01
Abhinav S28-Aug-11 2:01 
AnswerRe: ListBox in vb.net Pin
DaveAuld29-Aug-11 5:43
professionalDaveAuld29-Aug-11 5:43 
AnswerRe: ListBox in vb.net Pin
Bert Mitton3-Sep-11 6:54
professionalBert Mitton3-Sep-11 6:54 

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.