Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCombine two double into a string Pin
blang047720-Feb-06 14:18
blang047720-Feb-06 14:18 
AnswerRe: Combine two double into a string Pin
haian244220-Feb-06 14:28
haian244220-Feb-06 14:28 
AnswerRe: Combine two double into a string Pin
kakan20-Feb-06 18:55
professionalkakan20-Feb-06 18:55 
GeneralRe: Combine two double into a string Pin
blang047721-Feb-06 2:41
blang047721-Feb-06 2:41 
GeneralRe: Combine two double into a string Pin
David Crow21-Feb-06 2:43
David Crow21-Feb-06 2:43 
QuestionSending bytes in a time window Pin
Lazybug8220-Feb-06 14:16
Lazybug8220-Feb-06 14:16 
AnswerRe: Sending bytes in a time window Pin
Rage20-Feb-06 22:50
professionalRage20-Feb-06 22:50 
QuestionDataSets & TableAdapters Pin
monrobot1320-Feb-06 12:57
monrobot1320-Feb-06 12:57 
I've never used the datasets and tableadapters in visual studio before and I'm having some trouble trying to figure them out. Right now it's going like this. I have a strongly-typed dataset on my form, I also have a bindingsource that's bound to the dataset and my database table, this created a tableadpater for me. Now because some columns in the database are just id's that the user doesn't need to know about I don't have controls for them on my form. My question is how to I update this information in the dataset so that it's populated back to the database? I'm trying something like this, but I know it's not right.
Guid guid = Guid.NewGuid ();
myDataSet.myDataTable table = myTableAdapter.GetData ();
table.idColumn = guid.ToString ("N");  // the "id" column is of type uniqueidentifier
myBindingSource.EndEdit ();
myTableAdapter.Update (this.myDataSet.eps);
I think the basic question is how to I update/insert/delete on a strongly-typed datatable from within code?

I know this isn't the C# forum, but I'm not getting any answers there. If you want to give me some solutions or help in C++ I'm fine with converting it over. Thanks for any and all help.

- Aaron
QuestionQuestion about console windows Pin
nachilau20-Feb-06 10:34
nachilau20-Feb-06 10:34 
AnswerRe: Question about console windows Pin
Rage20-Feb-06 22:49
professionalRage20-Feb-06 22:49 
GeneralRe: Question about console windows Pin
nachilau21-Feb-06 19:52
nachilau21-Feb-06 19:52 
QuestionData and graphs Pin
thierrypp20-Feb-06 10:29
thierrypp20-Feb-06 10:29 
AnswerRe: Data and graphs Pin
Rage20-Feb-06 22:48
professionalRage20-Feb-06 22:48 
QuestionVC++ Managed Code and OnPaint Problem Pin
syedfasih20-Feb-06 9:36
syedfasih20-Feb-06 9:36 
AnswerRe: VC++ Managed Code and OnPaint Problem Pin
Maximilien20-Feb-06 10:26
Maximilien20-Feb-06 10:26 
GeneralRe: VC++ Managed Code and OnPaint Problem Pin
syedfasih21-Feb-06 11:30
syedfasih21-Feb-06 11:30 
QuestionAccessing Office Functions from user defined applications Pin
zeeshan fahim20-Feb-06 8:46
zeeshan fahim20-Feb-06 8:46 
QuestionRe: Accessing Office Functions from user defined applications Pin
David Crow20-Feb-06 8:57
David Crow20-Feb-06 8:57 
AnswerRe: Accessing Office Functions from user defined applications Pin
chetanprakash20-Feb-06 19:19
chetanprakash20-Feb-06 19:19 
GeneralRe: Accessing Office Functions from user defined applications Pin
David Crow21-Feb-06 2:41
David Crow21-Feb-06 2:41 
QuestionSaving Data to File Pin
BeakX20-Feb-06 7:57
BeakX20-Feb-06 7:57 
AnswerRe: Saving Data to File Pin
David Crow20-Feb-06 8:09
David Crow20-Feb-06 8:09 
GeneralRe: Saving Data to File Pin
georgeraafat20-Feb-06 9:03
georgeraafat20-Feb-06 9:03 
GeneralRe: Saving Data to File Pin
David Crow20-Feb-06 9:14
David Crow20-Feb-06 9:14 
GeneralRe: Saving Data to File Pin
Aqueel20-Feb-06 17:19
Aqueel20-Feb-06 17:19 

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.