GridView and binding to a DataSet (what about the other tables?!?!)

Discussion in 'ASP .Net Web Controls' started by Keith Patrick, Dec 16, 2005.

  1. I have a stored proc that returns a dataset of several different summary
    tables. But I need different gridviews to display different tables from
    that proc. However, the GetView method in SqlDataSourceView only returns
    the view named "Table". My question is: what about the other tables? I
    can't get their names, and I can't find a way to bind to them, so I have 3
    different gridviews, but they only want to show the first table whereas, I
    need GV1 to show table 1, GV2 to show table 2, etc.
    BTW: I cannot change the return value of the proc, and I'd rather not write
    code to get this working, as it defeats the purpose of
    GridView.DataSourceID/DataSourceControl
     
    Keith Patrick, Dec 16, 2005
    #1
    1. Advertisements

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. Markus Palme

    Binding a typed dataset to a GridView [2.0]

    Markus Palme, Nov 12, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    3,189
    Daniel Fisher\(lennybacon\)
    Nov 14, 2005
  2. H5N1
    Replies:
    0
    Views:
    566
  3. Amit
    Replies:
    6
    Views:
    14,248
    Assimalyst
    Oct 24, 2006
  4. Chris Brat
    Replies:
    5
    Views:
    902
    =?iso-8859-1?q?Luis_M._Gonz=E1lez?=
    Aug 22, 2006
  5. shapper
    Replies:
    1
    Views:
    856
    Just Me
    Sep 19, 2007
  6. arun
    Replies:
    0
    Views:
    5,025
  7. Ersin Gençtürk

    binding a typed dataset with 2 tables

    Ersin Gençtürk, Feb 11, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    199
    Eliyahu Goldin
    Feb 13, 2005
  8. H5N1
    Replies:
    0
    Views:
    223
Loading...