Click here to Skip to main content
15,900,572 members
Home / Discussions / C#
   

C#

 
AnswerRe: Atom table Pin
Sabry190512-Oct-05 21:06
Sabry190512-Oct-05 21:06 
Questionlosing focus totally after some.ShowDialog() Pin
FreeClimber11-Oct-05 23:20
FreeClimber11-Oct-05 23:20 
QuestionSlow speed on second query Pin
AesopTurtle11-Oct-05 23:03
AesopTurtle11-Oct-05 23:03 
QuestionDynamic images in imagelist-Urgent!!!!!!!!!!!!!! Pin
tanishq151011-Oct-05 22:04
tanishq151011-Oct-05 22:04 
AnswerRe: Dynamic images in imagelist-Urgent!!!!!!!!!!!!!! Pin
David Stone12-Oct-05 7:06
sitebuilderDavid Stone12-Oct-05 7:06 
GeneralRe: Dynamic images in imagelist-Urgent!!!!!!!!!!!!!! Pin
Anonymous12-Oct-05 20:11
Anonymous12-Oct-05 20:11 
GeneralRe: Dynamic images in imagelist-Urgent!!!!!!!!!!!!!! Pin
tanishq151012-Oct-05 20:39
tanishq151012-Oct-05 20:39 
AnswerSolution : Dynamic images in imagelist-Urgent!!!!!!!!!!!!!! Pin
tanishq151013-Oct-05 5:09
tanishq151013-Oct-05 5:09 
Questionowndraw for a scrollbar Pin
Sasuko11-Oct-05 21:29
Sasuko11-Oct-05 21:29 
AnswerRe: owndraw for a scrollbar Pin
David Stone12-Oct-05 6:56
sitebuilderDavid Stone12-Oct-05 6:56 
QuestionWindows Search Gif Pin
Greeky11-Oct-05 20:40
Greeky11-Oct-05 20:40 
AnswerRe: Windows Search Gif Pin
XRaheemX13-Oct-05 3:48
XRaheemX13-Oct-05 3:48 
GeneralRe: Windows Search Gif Pin
Greeky13-Oct-05 3:57
Greeky13-Oct-05 3:57 
QuestionC# and animated GIFs (VS.Net 2003) Pin
raysot77711-Oct-05 19:14
raysot77711-Oct-05 19:14 
Questiondataadapter fill question Pin
theStorminMormon11-Oct-05 16:49
theStorminMormon11-Oct-05 16:49 
AnswerRe: dataadapter fill question Pin
Wjousts12-Oct-05 3:38
Wjousts12-Oct-05 3:38 
GeneralRe: dataadapter fill question Pin
theStorminMormon12-Oct-05 4:17
theStorminMormon12-Oct-05 4:17 
GeneralRe: dataadapter fill question Pin
Wjousts12-Oct-05 7:42
Wjousts12-Oct-05 7:42 
Using Visual Studio the best way to debug code associated with an event is to set a breakpoint. You set a break point by clicking in the little gray bar to the left of the line of code you want to stop on, a small red circle will appear (click on it again to clear it when you no longer need it). For your situation you could put it right next to the line for the button click event. What happens is when the program reaches that line it will throw you back into debug mode and set you step through with F10 or F11 (note this only works if you're building the debug configuration and not the release one). Once you've stopped execution you can step through and use the watch windows to see the values of variables or use the command window to quickly type code to execute, for example myDataAdapter.SelectCommand.CommandText in the command window should show you what the command text actually is (assuming myDataAdapter is in scope). Hope this helps. You'll learn to love breakpoints!!

[Edit: forgot to mention]
In answer to your other question, no there is nothing theoretically wrong with using a DataAdapter twice (or more) to fill a table (even the same table). Now whether it's the most efficient way to do things is another question that depends greatly on your setup.

-- modified at 16:12 Wednesday 12th October, 2005
GeneralRe: dataadapter fill question Pin
theStorminMormon14-Oct-05 7:01
theStorminMormon14-Oct-05 7:01 
Questionadminstrator Pin
momoo11-Oct-05 16:47
momoo11-Oct-05 16:47 
AnswerRe: adminstrator Pin
Dave Kreskowiak12-Oct-05 3:50
mveDave Kreskowiak12-Oct-05 3:50 
QuestionWTF is my task list? Pin
theStorminMormon11-Oct-05 16:18
theStorminMormon11-Oct-05 16:18 
AnswerRe: WTF is my task list? Pin
leppie11-Oct-05 16:21
leppie11-Oct-05 16:21 
GeneralRe: WTF is my task list? Pin
theStorminMormon11-Oct-05 16:43
theStorminMormon11-Oct-05 16:43 
AnswerRe: WTF is my task list? Pin
tatchung11-Oct-05 16:40
tatchung11-Oct-05 16:40 

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.