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?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Bechir BejaouiRank #144 · 15.9K reputationPosted Jun 14, 2008, 4:19 AM EDT
DataSet ds = new DataSet();
ds.Tables.Add(dt);
ds.AcceptChanges();
Vipin Mammen6 reputationPosted Jun 14, 2008, 4:34 AM EDT
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Jun 25, 2008, 10:28 AM EDT
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