Click here to Skip to main content
16,005,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem on terminating an application Pin
Stefan Troschuetz27-Jun-04 23:10
Stefan Troschuetz27-Jun-04 23:10 
GeneralRe: Problem on terminating an application Pin
Ravikumar_mv27-Jun-04 23:57
Ravikumar_mv27-Jun-04 23:57 
GeneralRe: Problem on terminating an application Pin
Stefan Troschuetz28-Jun-04 0:28
Stefan Troschuetz28-Jun-04 0:28 
GeneralRe: Problem on terminating an application Pin
Dave Kreskowiak28-Jun-04 4:22
mveDave Kreskowiak28-Jun-04 4:22 
GeneralRe: Problem on terminating an application Pin
Ravikumar_mv29-Jun-04 23:03
Ravikumar_mv29-Jun-04 23:03 
GeneralNo data found when exporting dataset to excel Pin
Anonymous27-Jun-04 22:22
Anonymous27-Jun-04 22:22 
GeneralRe: No data found when exporting dataset to excel Pin
Dave Kreskowiak28-Jun-04 4:14
mveDave Kreskowiak28-Jun-04 4:14 
GeneralRe: No data found when exporting dataset to excel Pin
Heath Stewart28-Jun-04 4:16
protectorHeath Stewart28-Jun-04 4:16 
Have you tried debugging it? Did the dsTables DataSet contain any data? Did you remember to use the SqlDataAdapter.TableMappings to make sure that the first result set ("Table") matched up with "testTable"? The SqlDataAdapter.SelectCommand may have in fact retrieved data but unless the table mappings are set up correctly, the "testTable" DataTable won't contain any data, so nothing but a skeleton table would be output to the HtmlTextWriter.

Step through the code and check the state of the variables with each relevent step (like after you Fill the DataSet, after you call db.DataBind, etc.).

 

Microsoft MVP, Visual C#
My Articles
GeneralDataSet generator error Pin
Member 114126627-Jun-04 20:16
Member 114126627-Jun-04 20:16 
GeneralRe: DataSet generator error Pin
Dave Kreskowiak28-Jun-04 4:05
mveDave Kreskowiak28-Jun-04 4:05 
GeneralRe: DataSet generator error Pin
Heath Stewart28-Jun-04 4:11
protectorHeath Stewart28-Jun-04 4:11 
GeneralRe: DataSet generator error Pin
Member 114126629-Jun-04 2:10
Member 114126629-Jun-04 2:10 
QuestionBest way to print an image that may be larger than one page? Pin
Pain_Elemental27-Jun-04 20:15
Pain_Elemental27-Jun-04 20:15 
AnswerRe: Best way to print an image that may be larger than one page? Pin
Heath Stewart28-Jun-04 3:55
protectorHeath Stewart28-Jun-04 3:55 
GeneralOne more security question Pin
MKlucher27-Jun-04 18:36
MKlucher27-Jun-04 18:36 
GeneralRe: One more security question Pin
Heath Stewart27-Jun-04 18:44
protectorHeath Stewart27-Jun-04 18:44 
GeneralRe: One more security question Pin
MKlucher27-Jun-04 19:03
MKlucher27-Jun-04 19:03 
GeneralRe: One more security question Pin
Heath Stewart27-Jun-04 19:12
protectorHeath Stewart27-Jun-04 19:12 
GeneralRun Expect scripts from managed code Pin
inyoursadachine27-Jun-04 18:07
inyoursadachine27-Jun-04 18:07 
GeneralRe: Run Expect scripts from managed code Pin
Heath Stewart27-Jun-04 18:18
protectorHeath Stewart27-Jun-04 18:18 
GeneralMPEG to AVI Pin
BigBlob20227-Jun-04 10:51
BigBlob20227-Jun-04 10:51 
GeneralRe: MPEG to AVI Pin
leppie27-Jun-04 13:13
leppie27-Jun-04 13:13 
GeneralRe: MPEG to AVI Pin
BigBlob20227-Jun-04 14:23
BigBlob20227-Jun-04 14:23 
GeneralRe: MPEG to AVI Pin
Heath Stewart27-Jun-04 17:46
protectorHeath Stewart27-Jun-04 17:46 
QuestionCatching key events to a panel? Pin
misterbear27-Jun-04 7:53
misterbear27-Jun-04 7:53 

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.