Problem woth ObjectDataSource and Dataset...

Discussion in 'ASP .Net Web Controls' started by Paolo, Sep 9, 2006.

  1. Paolo

    Paolo Guest

    Hi all!

    I have a problem, that seems rather common, but I didn't find any
    soution.
    I have a gridView bound to an ObjectDataSource. The selectMethod
    returns a dataSet with multiple DataTable, but I can't choose which
    datattable to use, it always uses the first one.- If I use the
    DataMember property I get an exception saying that I can use only the
    default view, which means I can't set the dataMember property.Is there
    a solution? Otherwise I should use a DataSet for each table, but it
    semms to me this is a big bug in the framework!

    Thank you

    Paolo
     
    Paolo, Sep 9, 2006
    #1
    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. Spotnick
    Replies:
    0
    Views:
    1,573
    Spotnick
    Jan 21, 2006
  2. Simon
    Replies:
    44
    Views:
    1,406
    Neredbojias
    Jun 20, 2005
  3. J055
    Replies:
    1
    Views:
    757
    Walter Wang [MSFT]
    Aug 8, 2006
  4. Arjen
    Replies:
    0
    Views:
    364
    Arjen
    Aug 24, 2006
  5. David Thielen

    ObjectDataSource method as another ObjectDataSource

    David Thielen, Mar 21, 2006, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    246
    Steven Cheng[MSFT]
    Mar 23, 2006
Loading...

Share This Page