Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: DoubleBuffered Pin
Patrick Etc.25-Apr-07 3:59
Patrick Etc.25-Apr-07 3:59 
GeneralRe: DoubleBuffered Pin
Brady Kelly25-Apr-07 5:04
Brady Kelly25-Apr-07 5:04 
GeneralRe: DoubleBuffered Pin
HexaDeveloper25-Apr-07 12:39
HexaDeveloper25-Apr-07 12:39 
GeneralRe: DoubleBuffered Pin
HexaDeveloper28-Apr-07 9:24
HexaDeveloper28-Apr-07 9:24 
Questioncarriage return question Pin
JEC456824-Apr-07 6:05
JEC456824-Apr-07 6:05 
QuestionSave file name Pin
Anka_Ame24-Apr-07 5:20
Anka_Ame24-Apr-07 5:20 
AnswerRe: Save file name Pin
netJP12L24-Apr-07 8:55
netJP12L24-Apr-07 8:55 
QuestionDatatables and Database tables Pin
lost in transition 24-Apr-07 5:18
lost in transition 24-Apr-07 5:18 
When filling a dataset with a table I use first FillSchema() and then Fill().

Here is my problem:

Table A has had say 1000 records in it. Those records have no been deleted before filling the dataset with Table B. So the next ID of an autofield would be 1001. Okay, but when I fill the dataset the Table A while Table A is in memory it has a starting ID of 0. So, now if I have Table A and Table B in a dataset and I am placing the ID from Table A into Table B as a FK, when the database is then updated with Table A and Table B. Table B will have false IDs for Table A.

How can you fill the dataset with Table A so that it the ID would be set to the next ID in the database would be? So that the IDs matched.
AnswerRe: Datatables and Database tables Pin
lost in transition 24-Apr-07 6:11
lost in transition 24-Apr-07 6:11 
QuestionCreating a Graphical Relationship Pin
Gareth H24-Apr-07 4:49
Gareth H24-Apr-07 4:49 
AnswerRe: Creating a Graphical Relationship Pin
Pete O'Hanlon24-Apr-07 5:01
mvePete O'Hanlon24-Apr-07 5:01 
QuestionScript Editor in C# Pin
Adobe200724-Apr-07 4:30
Adobe200724-Apr-07 4:30 
AnswerRe: Script Editor in C# Pin
Pete O'Hanlon24-Apr-07 4:38
mvePete O'Hanlon24-Apr-07 4:38 
AnswerRe: Script Editor in C# Pin
Adobe200724-Apr-07 6:20
Adobe200724-Apr-07 6:20 
QuestionMouse Wheel Pin
The Brazilian One24-Apr-07 4:04
The Brazilian One24-Apr-07 4:04 
AnswerRe: Mouse Wheel Pin
Judah Gabriel Himango24-Apr-07 4:12
sponsorJudah Gabriel Himango24-Apr-07 4:12 
GeneralRe: Mouse Wheel Pin
The Brazilian One24-Apr-07 4:15
The Brazilian One24-Apr-07 4:15 
GeneralRe: Mouse Wheel Pin
The Brazilian One24-Apr-07 4:20
The Brazilian One24-Apr-07 4:20 
GeneralRe: Mouse Wheel Pin
Judah Gabriel Himango24-Apr-07 4:40
sponsorJudah Gabriel Himango24-Apr-07 4:40 
GeneralRe: Mouse Wheel Pin
The Brazilian One24-Apr-07 5:57
The Brazilian One24-Apr-07 5:57 
GeneralRe: Mouse Wheel Pin
Judah Gabriel Himango24-Apr-07 8:18
sponsorJudah Gabriel Himango24-Apr-07 8:18 
QuestionDeploying Visual C# express application Fails on target cpu Pin
kourvoisier24-Apr-07 3:59
kourvoisier24-Apr-07 3:59 
AnswerRe: Deploying Visual C# express application Fails on target cpu Pin
Pete O'Hanlon24-Apr-07 4:20
mvePete O'Hanlon24-Apr-07 4:20 
GeneralRe: Deploying Visual C# express application Fails on target cpu Pin
kourvoisier24-Apr-07 7:35
kourvoisier24-Apr-07 7:35 
AnswerRe: Deploying Visual C# express application Fails on target cpu Pin
dbrenth24-Apr-07 7:51
dbrenth24-Apr-07 7:51 

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.