المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Creating table in mdb from textbox



C# Programming
04-03-2009, 12:02 AM
Hi! If I got it right the *.mdb (Access) file is a DataBase file which contains lots of tables. My question is how can I create a table in an existing *.mdb file from within the code. What I have to know? For example, I have 2009.mdb in the solution, in the form a button (for example "Create") and TextBox where I set the name of the table. I also have a MultiLine TextBox where I write fields (one per line). Every time I open the form and fill the controls, every time a table has to be created in the 2009.mdb file. Am I able to abstract deeper relations with SQL?It' s like this, I don' t know!

Thanks!

"Good artists copy, great artists steal."