Click here to Skip to main content
15,924,828 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using Multiple constructors in base and sub class Pin
Guffa19-Feb-06 18:54
Guffa19-Feb-06 18:54 
AnswerRe: Using Multiple constructors in base and sub class Pin
J4amieC19-Feb-06 21:35
J4amieC19-Feb-06 21:35 
AnswerRe: Using Multiple constructors in base and sub class Pin
Guffa19-Feb-06 22:01
Guffa19-Feb-06 22:01 
QuestionColumn Sequence changes when binding Arraylist of Structs to Datagrid Pin
Adarsh Shah19-Feb-06 17:33
Adarsh Shah19-Feb-06 17:33 
QuestionPainting controls... Pin
Kasic Slobodan19-Feb-06 17:24
Kasic Slobodan19-Feb-06 17:24 
QuestionHelp on Word Document (2003) XML Support Pin
ted_92119-Feb-06 15:03
ted_92119-Feb-06 15:03 
AnswerRe: Help on Word Document (2003) XML Support Pin
malharone19-Feb-06 16:10
malharone19-Feb-06 16:10 
QuestionDataSets & TableAdapters Pin
monrobot1319-Feb-06 15:03
monrobot1319-Feb-06 15:03 
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?

Thanks for any and all help

- Aaron
QuestionC# throw exception code format Pin
edel_ong19-Feb-06 14:03
edel_ong19-Feb-06 14:03 
AnswerRe: C# throw exception code format Pin
Christian Graus19-Feb-06 14:37
protectorChristian Graus19-Feb-06 14:37 
AnswerRe: C# throw exception code format Pin
Sean8919-Feb-06 14:55
Sean8919-Feb-06 14:55 
GeneralRe: C# throw exception code format Pin
Sean8920-Feb-06 1:46
Sean8920-Feb-06 1:46 
QuestionI need help Pin
loncountrygirl19-Feb-06 13:42
loncountrygirl19-Feb-06 13:42 
AnswerRe: I need help Pin
Christian Graus19-Feb-06 14:01
protectorChristian Graus19-Feb-06 14:01 
GeneralRe: I need help Pin
loncountrygirl19-Feb-06 14:45
loncountrygirl19-Feb-06 14:45 
GeneralRe: I need help Pin
loncountrygirl19-Feb-06 14:49
loncountrygirl19-Feb-06 14:49 
GeneralRe: I need help Pin
Sean8919-Feb-06 15:07
Sean8919-Feb-06 15:07 
AnswerRe: I need help Pin
Jijo BP19-Feb-06 21:32
Jijo BP19-Feb-06 21:32 
GeneralRe: I need help Pin
J4amieC19-Feb-06 21:37
J4amieC19-Feb-06 21:37 
Questionproblem: System.Runtime.InteropServices.COMException Pin
edel_ong19-Feb-06 13:35
edel_ong19-Feb-06 13:35 
QuestionC# 2005 - DataGridView and ComboBoxes questions Pin
JC Carmo19-Feb-06 11:31
JC Carmo19-Feb-06 11:31 
QuestionWindows Hooks Pin
all4fun219-Feb-06 9:53
all4fun219-Feb-06 9:53 
QuestionResources, namespaces, C# Pin
magja19-Feb-06 8:05
magja19-Feb-06 8:05 
AnswerRe: Resources, namespaces, C# Pin
[Marc]19-Feb-06 13:38
[Marc]19-Feb-06 13:38 
GeneralRe: Resources, namespaces, C# Pin
magja19-Feb-06 23:10
magja19-Feb-06 23:10 

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.