Click here to Skip to main content
15,913,773 members
Home / Discussions / C#
   

C#

 
Generaldynamically adding tabpages to a tabcontrol Pin
samithas9-Aug-04 17:53
samithas9-Aug-04 17:53 
GeneralRe: dynamically adding tabpages to a tabcontrol Pin
Heath Stewart9-Aug-04 17:57
protectorHeath Stewart9-Aug-04 17:57 
GeneralRe: dynamically adding tabpages to a tabcontrol Pin
samithas9-Aug-04 18:47
samithas9-Aug-04 18:47 
GeneralRe: dynamically adding tabpages to a tabcontrol Pin
sreejith ss nair9-Aug-04 20:06
sreejith ss nair9-Aug-04 20:06 
GeneralDrag and Drop to Desktop Pin
c-minor9-Aug-04 17:32
c-minor9-Aug-04 17:32 
GeneralRe: Drag and Drop to Desktop Pin
Heath Stewart9-Aug-04 17:54
protectorHeath Stewart9-Aug-04 17:54 
Generalado .net sql insert - should be simple but don't get it Pin
JeromeKJerome9-Aug-04 14:07
JeromeKJerome9-Aug-04 14:07 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart9-Aug-04 18:01
protectorHeath Stewart9-Aug-04 18:01 
A DataRow stores change information, such as whether or not it is new, updated, or even deleted. When you use DataAdapter.Update, this information is used to determine which property - SelectCommand, InsertCommand, UpdateCommand, or DeleteCommand - is executed for a particular row. When the DataAdapter.Update is finished updating the data store, AcceptChanges is automatically called on the DataSet (or DataTable, depending on how you called Update), so there's no need for you to do so.

A DataAdapter is really only helpful when dealing with DataSets, however. Otherwise, stick to using parameterized queries and IDbCommand implementations (like the SqlCommand or OleDbCommand class) to update the data store using ExecuteNonQuery or something along those lines (depending on what SQL statement you're executing and what you expect returned).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
JeromeKJerome10-Aug-04 6:23
JeromeKJerome10-Aug-04 6:23 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart10-Aug-04 6:29
protectorHeath Stewart10-Aug-04 6:29 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
JeromeKJerome10-Aug-04 8:17
JeromeKJerome10-Aug-04 8:17 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart10-Aug-04 9:44
protectorHeath Stewart10-Aug-04 9:44 
GeneralThin Client Pin
Anton Dorrestijn9-Aug-04 12:53
Anton Dorrestijn9-Aug-04 12:53 
GeneralRe: Thin Client Pin
Nick Parker9-Aug-04 13:52
protectorNick Parker9-Aug-04 13:52 
GeneralMixing .NET languages Pin
paulains9-Aug-04 12:47
paulains9-Aug-04 12:47 
GeneralRe: Mixing .NET languages Pin
Mark Greenwood9-Aug-04 13:27
Mark Greenwood9-Aug-04 13:27 
GeneralRe: Mixing .NET languages Pin
paulains9-Aug-04 17:51
paulains9-Aug-04 17:51 
GeneralRe: Mixing .NET languages Pin
Heath Stewart9-Aug-04 18:05
protectorHeath Stewart9-Aug-04 18:05 
GeneralRe: Mixing .NET languages Pin
Nick Parker9-Aug-04 13:45
protectorNick Parker9-Aug-04 13:45 
GeneralRe: Mixing .NET languages Pin
paulains9-Aug-04 17:56
paulains9-Aug-04 17:56 
GeneralArrays in c# Pin
cheesepirate9-Aug-04 9:04
cheesepirate9-Aug-04 9:04 
GeneralRe: Arrays in c# Pin
Reinout Hillmann9-Aug-04 9:51
sussReinout Hillmann9-Aug-04 9:51 
GeneralRe: Arrays in c# Pin
cheesepirate9-Aug-04 10:00
cheesepirate9-Aug-04 10:00 
GeneralRe: Arrays in c# Pin
Nick Parker9-Aug-04 10:21
protectorNick Parker9-Aug-04 10:21 
GeneralRe: Arrays in c# Pin
Bret Mulvey9-Aug-04 16:45
Bret Mulvey9-Aug-04 16:45 

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.