Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dataset structure

Status
Not open for further replies.

leangross

IS-IT--Management
Jul 3, 2002
84
PH
hi anyone has an idea how to create a dataset like structure?

for example

Dataset (this is what the object should look like)
----Tables
------Rows
--------Columns


so i could use this :
for each table (item) in dataset (object)
next


I want to create an object similar to the structure above. anyone has an idea? much better if you have a sample code to this :)
 

Instead of re-inventing the wheel all again, try using .NET Dataset, DataTable, DataRow, DataColumn etc. But if you want to code your own classes for these then study about collection classes, aggregation and inheritance.

If you want to code your own classes, make a DataSet file (*.xsd file) in Visual Studio 2005 and study the structure. Your own classes will have the same structure, almost.

Hope it helps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top