Click here to Skip to main content
15,906,097 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi......

I want to return dataset which content mumltiple tables with different schema.provide soln for it.thanx in advance
Posted

1 solution

return dataset which content mumltiple tables with different schema
DataSet is collection of DataTables. You can have different columns in each table. Fill the dataset with multiple datatables and pass on. It's exactly same as passing a dataset with one table in it.

Read:
MSDN: DataSet Class[^]
MSDN: DataSets, DataTables, and DataViews (ADO.NET)[^]
Passing DataSet to a WCF Method[^]
 
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