Hierarchical Webgrid

Discussion in 'ASP .Net' started by kaytejt@gmail.com, Mar 27, 2007.

  1. Guest

    The examples that I have seen on Hierarchical Webgrids use
    oledbdataadapters to get tables when doing a databind to the webgrid.
    However, since I am using stored procedures that return back datasets,
    I keep getting a "Object reference not set to an instance of an
    object." error when I try to add the relations.

    ds = contractUnderwriting.GetCUPipeline(statusValue, Profile.OrgId)
    ds1 = contractUnderwriting.GetCUPipelineFilter(statusValue,
    Profile.OrgId)

    when I call the procedures and put them in a dataset..

    and

    finalds.Relations.Add(ds.Tables(0).Columns("WORKOBJNUM"),
    ds1.Tables(0).Columns("WORKOBJNUM"))

    when I try adding relations to the columns within the datasets.

    Any suggestions?
     
    , Mar 27, 2007
    #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. miqbal
    Replies:
    1
    Views:
    1,760
    Anatoly
    Jul 17, 2003
  2. Infragistics - WebGrid

    , Jul 19, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    2,693
    Aaron Corcoran
    Jul 19, 2005
  3. Don

    Infragistics webgrid

    Don, Oct 19, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    613
    Guadala Harry
    Oct 20, 2005
  4. Hierarchical Webgrid

    , Mar 27, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    412
  5. Jason Ratke

    Intersoft WebGrid - Hierarchical display problems

    Jason Ratke, Jul 23, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    162
    Jason Ratke
    Jul 23, 2003
Loading...

Share This Page