Click here to Skip to main content
15,894,262 members
Home / Discussions / C#
   

C#

 
GeneralRe: Treeview Pin
Heath Stewart28-Dec-03 3:16
protectorHeath Stewart28-Dec-03 3:16 
GeneralDataAdapter.Fill progress Pin
Alex Korchemniy23-Dec-03 18:30
Alex Korchemniy23-Dec-03 18:30 
GeneralRe: DataAdapter.Fill progress Pin
mhmoud rawas24-Dec-03 1:08
mhmoud rawas24-Dec-03 1:08 
GeneralRe: DataAdapter.Fill progress Pin
SimonS24-Dec-03 8:26
SimonS24-Dec-03 8:26 
GeneralRe: DataAdapter.Fill progress Pin
mhmoud rawas26-Dec-03 19:04
mhmoud rawas26-Dec-03 19:04 
GeneralRe: DataAdapter.Fill progress Pin
SimonS26-Dec-03 21:13
SimonS26-Dec-03 21:13 
GeneralRe: DataAdapter.Fill progress Pin
mhmoud rawas26-Dec-03 21:19
mhmoud rawas26-Dec-03 21:19 
GeneralRe: DataAdapter.Fill progress Pin
Heath Stewart27-Dec-03 4:41
protectorHeath Stewart27-Dec-03 4:41 
Simon's suggestion is a good one. The DataAdapter actually uses DbCommands and DataReaders (where applicable) internally. Everything you can do with the DataAdapter can be done with the other two classes I mentioned. Just make a DbCommand for the SELECT (use a DataReader here), INSERT (with option SELECT afterward), UPDATE, and DELETE commands and execute them accordingly, i.e. enumerate the rows, check the DataRow.RowState property, and execute the appropriate DbCommand.

You should get a good decompiler like .NET Reflector[^] and see how the DataAdapter (specifically, a derivitive class like SqlDataAdapter) works internally.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralWhy use String.Empty() rather than "" Pin
Marc Clifton23-Dec-03 13:45
mvaMarc Clifton23-Dec-03 13:45 
GeneralRe: Why use String.Empty() rather than "" Pin
Nick Parker23-Dec-03 13:54
protectorNick Parker23-Dec-03 13:54 
GeneralRe: Why use String.Empty() rather than "" Pin
Robert Slaney23-Dec-03 14:36
Robert Slaney23-Dec-03 14:36 
GeneralRe: Why use String.Empty() rather than "" Pin
Nick Parker23-Dec-03 14:51
protectorNick Parker23-Dec-03 14:51 
GeneralRe: Why use String.Empty() rather than "" Pin
Nick Seng23-Dec-03 14:47
Nick Seng23-Dec-03 14:47 
GeneralRe: Why use String.Empty() rather than "" Pin
Bo Hunter23-Dec-03 17:23
Bo Hunter23-Dec-03 17:23 
GeneralRe: Why use String.Empty() rather than "" Pin
Cristoff24-Dec-03 10:17
Cristoff24-Dec-03 10:17 
GeneralRe: Why use String.Empty() rather than "" Pin
Nick Parker24-Dec-03 11:20
protectorNick Parker24-Dec-03 11:20 
GeneralRe: Why use String.Empty() rather than "" Pin
leppie24-Dec-03 13:05
leppie24-Dec-03 13:05 
GeneralRe: Why use String.Empty() rather than "" Pin
Nick Parker28-Dec-03 11:17
protectorNick Parker28-Dec-03 11:17 
GeneralRe: Why use String.Empty() rather than "" Pin
Marc Clifton29-Dec-03 1:09
mvaMarc Clifton29-Dec-03 1:09 
GeneralScroll Bar Color Pin
lkreuzer23-Dec-03 12:16
lkreuzer23-Dec-03 12:16 
QuestionHow to get remote system's physical disk space Pin
stateyama23-Dec-03 10:39
stateyama23-Dec-03 10:39 
AnswerRe: How to get remote system's physical disk space Pin
eggie524-Dec-03 11:40
eggie524-Dec-03 11:40 
GeneralRe: How to get remote system's physical disk space Pin
eggie524-Dec-03 11:43
eggie524-Dec-03 11:43 
AnswerRe: How to get remote system's physical disk space Pin
Nick Parker24-Dec-03 11:46
protectorNick Parker24-Dec-03 11:46 
GeneralRe: How to get remote system's physical disk space Pin
stateyama5-Jan-04 6:32
stateyama5-Jan-04 6: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.