Click here to Skip to main content
15,914,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've a dataset which has few tables. These tables internally have another table. I need to get data from tables and the inner tables of the tables. How can I do this?
Posted
Comments
Wendelius 3-Jan-12 0:54am    
Is the inner table stored in a binary column?

If you're storing the inner tables inside a data column, I see no point in doing that. Tables in datasets are not meant to be nested. Instead add proper amount of tables and use DataRelation[^] between the tables to define the references between data.
 
Share this answer
 
Hi,

Please check NextResult().

hope this will help you,

thanks
-amit.
 
Share this answer
 
I think you mean navigation in ORM, for example Customers.Orders.OrderItem

If so then you should learn how to use an ORM for example how to use Entity Framework.

Read these resources and they will help you :
http://www.codeguru.com/csharp/csharp/net30/print.php/c15489/ADONET-Entity-Framework-Tutorial-and-Basics.htm[^]

http://stackoverflow.com/questions/62110/ado-net-entity-framework-tutorials[^]

http://msdn.microsoft.com/en-us/library/bb399182.aspx[^]

Hope it helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900