Table not getting created
When i am creating a table using DataTable and DataSet in ADO .net the tables are not getting created in the database. Why?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vijaya KadiyalaPosted Jun 25, 2008, 2:28 PM
Hi,
The user which you are using does't have rights to create a table in database? Are you getting any error message?
Thanks -- Vj
http://dotnetvj.blogspot.com
Vipin MammenPosted Jun 14, 2008, 8:34 AM
Bechir BejaouiPosted Jun 14, 2008, 8:19 AM
DataSet ds = new DataSet();
ds.Tables.Add(dt);
ds.AcceptChanges();