Click here to Skip to main content
15,889,861 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: WTF is my task list? Pin
Andy Brummer12-Oct-05 12:10
sitebuilderAndy Brummer12-Oct-05 12:10 
QuestionHow to custom funcation in Excel2003 with C# Pin
dreamwinter11-Oct-05 15:38
dreamwinter11-Oct-05 15:38 
AnswerRe: How to custom funcation in Excel2003 with C# Pin
David Stone12-Oct-05 7:03
sitebuilderDavid Stone12-Oct-05 7:03 
QuestionDataBound TreeView + DataBinding + DataGrid Pin
Bahadir Cambel11-Oct-05 13:51
Bahadir Cambel11-Oct-05 13:51 
AnswerRe: DataBound TreeView + DataBinding + DataGrid Pin
Bahadir Cambel14-Oct-05 0:10
Bahadir Cambel14-Oct-05 0:10 
QuestionRTSP client/server Pin
waleed_marji11-Oct-05 11:29
waleed_marji11-Oct-05 11:29 
QuestionKeeping External App from closing or being minimized Pin
DeepToot11-Oct-05 11:22
DeepToot11-Oct-05 11:22 
AnswerRe: Keeping External App from closing or being minimized Pin
Dave Kreskowiak12-Oct-05 4:10
mveDave Kreskowiak12-Oct-05 4:10 
GeneralRe: Keeping External App from closing or being minimized Pin
DeepToot12-Oct-05 9:52
DeepToot12-Oct-05 9:52 
Questionplay an avi from a stream Pin
Sasuko11-Oct-05 11:11
Sasuko11-Oct-05 11:11 

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.