Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Why is my DataSet empty?!

Reply
Thread Tools

Why is my DataSet empty?!

 
 
mlbrillo mlbrillo is offline
Junior Member
Join Date: Apr 2011
Posts: 2
 
      04-25-2011
I have a simple SP that returns a simple set of data and fills a DataSet. When I run .Count on the DataSet, it tells me that it returned 12 rows which is expected. However, when I try to access any of the rows within the DataSet, it tells me the values are DBNull.

I have run the SP, stepped through and watched the input parameter. Everything else is fine. I don't understand why the DataSet is not getting filled properly.

Anyone run into this before? I created the DataSet through the GUI interface in Visual Studio. Please let me know what code or other information you need. This is starting to get under my skin.
 
Reply With Quote
 
 
 
 
mlbrillo mlbrillo is offline
Junior Member
Join Date: Apr 2011
Posts: 2
 
      04-25-2011
Nevermind. Some tool decided to screw with me and return different column names in my SP than what are actually in the table. Sorry all.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
DataSet and dataSet JimO ASP .Net 2 03-08-2006 02:39 PM
Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset Nedu N ASP .Net 1 10-31-2003 02:39 AM
DataSet to DataSet Joseph D. DeJohn ASP .Net 1 08-04-2003 03:25 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57