Why is my DataSet empty?!

Discussion in '.NET' started by mlbrillo, Apr 25, 2011.

  1. mlbrillo

    mlbrillo

    Joined:
    Apr 25, 2011
    Messages:
    2
    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.
    mlbrillo, Apr 25, 2011
    #1
    1. Advertising

  2. mlbrillo

    mlbrillo

    Joined:
    Apr 25, 2011
    Messages:
    2
    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.
    mlbrillo, Apr 25, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John

    empty/non-empty element

    John, Jul 15, 2003, in forum: XML
    Replies:
    1
    Views:
    1,001
    Klaus Johannes Rusch
    Jul 16, 2003
  2. Lukas
    Replies:
    3
    Views:
    773
    spiff
    Nov 10, 2005
  3. Marcia Hon

    Check if a directory is empty and empty it

    Marcia Hon, Feb 8, 2004, in forum: C Programming
    Replies:
    8
    Views:
    557
    Dave Thompson
    Feb 14, 2004
  4. Mr. SweatyFinger

    why why why why why

    Mr. SweatyFinger, Nov 28, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    838
    Mark Rae
    Dec 21, 2006
  5. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,666
    Smokey Grindel
    Dec 2, 2006
Loading...

Share This Page