i've looked @ heavily , cannot seem find way have multiple tables, each 1 "type" (not data type) of data on them.
i want able access data related "thing a" across multiple "types" of data. 1 name, other favorite color. these belong in separate tables really, they're related "thing a", not best stored besides each other in same table. both need connected "thing a".
i hope meets question standards. don't yet have vocabulary or knowledge talk in more efficient way.
to answer question appears can use dataset contain multiple datatables, each of have 1 "type" (not data types) of data:
dataset dataset = new dataset(); dataset.tables.add(new datatable().tablename = "thistypeofdata"); dataset.tables.add(new datatable().tablename = "someotherdata"); // assume columns "thing a" added datatables.
can access via:
dataset.tables["thistypeofdata"].column["thing a"]; dataset.tables["someotherdata"].column["thing a"];
more information on datasets: https://msdn.microsoft.com/en-us/library/aeskbwf7(v=vs.110).aspx
Comments
Post a Comment