G
Guest
I've got a situation where I have live data coming in from multiple sources.
I'm able to get it into two tables in RAM.
I have one table called "Providers" and it has a ProviderID and some other
fields.
I have another table called "Services"and it has a ProviderID in it as well
as a ServiceID and some other fields.
I just added data to these tables by using DataRow(0) = <first data item>,
DataRow(1) = <second data item>, etc. ThenI added the row to the table by
using Provider.Rows.Add(datarow)
Did something similar for the 2nd table. Now I want to do a nested
repeater, and I've figured out how to do that, but I'm apparently missing
something on setting up the relations.
How do I set up a relationship between these two tables AT RUNTIME?
I haven't introduced a "Dataset" yet at all. Not sure where to do this, and
I'm not sure what to do. Can someone take pity on me and give me the syntax
for doing a relation when both tables are in memory already?
Thanks in advance!
I'm able to get it into two tables in RAM.
I have one table called "Providers" and it has a ProviderID and some other
fields.
I have another table called "Services"and it has a ProviderID in it as well
as a ServiceID and some other fields.
I just added data to these tables by using DataRow(0) = <first data item>,
DataRow(1) = <second data item>, etc. ThenI added the row to the table by
using Provider.Rows.Add(datarow)
Did something similar for the 2nd table. Now I want to do a nested
repeater, and I've figured out how to do that, but I'm apparently missing
something on setting up the relations.
How do I set up a relationship between these two tables AT RUNTIME?
I haven't introduced a "Dataset" yet at all. Not sure where to do this, and
I'm not sure what to do. Can someone take pity on me and give me the syntax
for doing a relation when both tables are in memory already?
Thanks in advance!