Click here to Skip to main content
15,926,507 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert from string to Color Pin
Heath Stewart19-Apr-04 4:01
protectorHeath Stewart19-Apr-04 4:01 
GeneralConvert from string to Color Pin
Member 74394419-Apr-04 1:44
Member 74394419-Apr-04 1:44 
GeneralRe: Convert from string to Color Pin
Mike Ellison19-Apr-04 4:07
Mike Ellison19-Apr-04 4:07 
QuestionCan Fill? Pin
wokankan19-Apr-04 1:33
wokankan19-Apr-04 1:33 
AnswerRe: Can Fill? Pin
mhmoud rawas19-Apr-04 2:11
mhmoud rawas19-Apr-04 2:11 
GeneralRe: Can Fill? Pin
wokankan19-Apr-04 2:45
wokankan19-Apr-04 2:45 
GeneralRe: Can Fill? Pin
Heath Stewart19-Apr-04 3:23
protectorHeath Stewart19-Apr-04 3:23 
AnswerRe: Can Fill? Pin
Heath Stewart19-Apr-04 3:26
protectorHeath Stewart19-Apr-04 3:26 
Don't use a DataReader with a DataSet - you have to handle a lot of code yourself that a DataAdapter already does for you if you establish the table and column mappings either programmatically or - like you seemed to have done - by creating a typed DataSet. If you give your DataAdapter derivative (like the SqlDataAdapter) at least a SelectCommand, it will fill your typed DataSet correctly (so long as the SQL statement corresponds to the typed DataSet) when you call DataAdapter.Fill. If you assign the optional properties, DeleteCommand, UpdateCommand, and InsertCommand on the DataAdapter, you can also call Update to update your ADO.NET data source with changes made to your DataSet since you last fill it (or called AcceptChanges, which removes all tracking information for each row).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Can Fill? Pin
wokankan19-Apr-04 4:21
wokankan19-Apr-04 4:21 
GeneralNavigating tabs with MDI Application Pin
Jon G19-Apr-04 1:02
Jon G19-Apr-04 1:02 
GeneralRe: Navigating tabs with MDI Application Pin
Dave Kreskowiak19-Apr-04 1:31
mveDave Kreskowiak19-Apr-04 1:31 
GeneralRe: Navigating tabs with MDI Application Pin
Jon G19-Apr-04 1:35
Jon G19-Apr-04 1:35 
GeneralRe: Navigating tabs with MDI Application Pin
Heath Stewart19-Apr-04 3:28
protectorHeath Stewart19-Apr-04 3:28 
GeneralIf and or Pin
Appelz19-Apr-04 0:12
Appelz19-Apr-04 0:12 
GeneralRe: If and or Pin
Colin Angus Mackay19-Apr-04 0:25
Colin Angus Mackay19-Apr-04 0:25 
GeneralHave a writable datagrid using an mdb Pin
Gian18-Apr-04 23:19
Gian18-Apr-04 23:19 
GeneralRe: Have a writable datagrid using an mdb Pin
Mazdak19-Apr-04 0:30
Mazdak19-Apr-04 0:30 
GeneralRe: Have a writable datagrid using an mdb Pin
Heath Stewart19-Apr-04 3:38
protectorHeath Stewart19-Apr-04 3:38 
QuestionHow to include documentation into assmblies? Pin
occcy18-Apr-04 22:22
occcy18-Apr-04 22:22 
AnswerRe: How to include documentation into assmblies? Pin
Corinna John18-Apr-04 23:12
Corinna John18-Apr-04 23:12 
AnswerRe: How to include documentation into assmblies? Pin
Dave Kreskowiak19-Apr-04 1:36
mveDave Kreskowiak19-Apr-04 1:36 
GeneralRe: How to include documentation into assmblies? Pin
Heath Stewart19-Apr-04 3:42
protectorHeath Stewart19-Apr-04 3:42 
GeneralIf-structure Pin
bertcox18-Apr-04 22:18
bertcox18-Apr-04 22:18 
GeneralRe: If-structure Pin
Hesham Amin18-Apr-04 22:23
Hesham Amin18-Apr-04 22:23 
GeneralRe: If-structure Pin
bertcox18-Apr-04 22:32
bertcox18-Apr-04 22:32 

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.