Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding DataTable to DataSet
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Adding DataTable to DataSet
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01343220
Message ID:
01343220
Vues:
63
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform