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

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top