let set i want set a parent and child data, is that possible 2 column name can be different, but the value exactly same.
here is my some code
dtResult = objReport.RPT_Daily_AP(errorMsg)
dtChild = objReport.RPT_Daily_AP_Child(errorMsg)
Show result to grid
ds.Relations.Add( _
dtResult.Columns("UniqueId"), _
dtChild.Columns("FromId"))
dgResult.DataSource = dtResult.DefaultView
dgResult.DataBind()
How can let it be link 2gether? because my value is exactly the same.
possible?
hope expert can guide me some coding.
Thanks
here is my some code
dtResult = objReport.RPT_Daily_AP(errorMsg)
dtChild = objReport.RPT_Daily_AP_Child(errorMsg)
Show result to grid
ds.Relations.Add( _
dtResult.Columns("UniqueId"), _
dtChild.Columns("FromId"))
dgResult.DataSource = dtResult.DefaultView
dgResult.DataBind()
How can let it be link 2gether? because my value is exactly the same.
possible?
hope expert can guide me some coding.
Thanks