Hierarchical Webgrid

K

kaytejt

I have two procedures that call when I do a databind. I want these
two procedures to be populated in a parent child relationship in a
hierarchical webgrid. However, all the examples that I have seen are
using oledbdataadapters to combine two tables, but I cannot use this
in my case because I am pulling stored procedures that pull back
datasets.

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

and when I do the relation

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

the error reads "Object reference not set to an instance of an
object."

Any suggestions?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,999
Messages
2,570,246
Members
46,843
Latest member
WizcraftEntertainmentAgen

Latest Threads

Top