Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding DataTable to DataSet
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Adding DataTable to DataSet
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01343220
Message ID:
01343220
Views:
62
Hi everybody,

I found this link http://msmvps.com/blogs/egoldin/archive/2006/12/27/how-to-get-datatable-out-of-sqldatasource.aspx

So, I can get the DataTable.

I need to create a dataset with this data and save it to the session.

Do you know how can I do this?

Can I somehow cast DataTable to DataSet?

Thanks a lot in advance.

Found this http://www.velocityreviews.com/forums/t302098-datatable-to-dataset.html

and this http://www.dotnetjunkies.ddj.com/Article/3532F83F-DB3D-4B3D-8E90-11D090060966.dcik

Unfortunately, I don't think I can switch to DataTable only for now, so I may need to have a DataSet since other pages depend on it.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform