Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
Webgrid - not showing all child bands
posted

Hi,

I have a webgrid that has a parent band and 3 child bands(all child bands are related to the parent band by a record id number.  Here is the code:

<code>

MainTableAdapt.Fill(MainTable)
SeasonTableAdapt.Fill(SeasonTable)
RSLTableAdapt.Fill(RSLTable)
SupplierTableAdapt.Fill(SupplierTable)

c_dataSet_MaterialsMain.Tables.Add(MainTable)
c_dataSet_MaterialsMain.Tables.Add(SeasonTable)
c_dataSet_MaterialsMain.Tables.Add(RSLTable)
c_dataSet_MaterialsMain.Tables.Add(SupplierTable)

Dim relMaterialsSeason As New DataRelation("Season Records"_
, MainTable.Columns(0) , SeasonTable.Columns(1))


Dim relMaterialsSeason2 As New DataRelation("RSL Records" _
, MainTable.Columns(0) , RSLTable.Columns(1))


Dim relMaterialsSeason3 As New DataRelation("Supplier Information" _
, MainTable.Columns(0) , SupplierTable.Columns(0))

</code>

When I run this, only the first child band shows.  I have this exact code in a Winform and it works perfectly - what am I missing on this web form?

Thanks!

JCC

Parents Reply Children
No Data