Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friends,

(this is for add new branch)

i want sql table in run time,

i am create some values such as


name as ravi
id as 2343
address as chennai

branch name as infotech

branch id as 5343
phone no as 9867567654

name is label and ravi is textbox value
....
...
phone no is label and 9867567654 as textbox value



I need when i click the submit button then automatically create the table in infotech in same database,

My database name is management system
Posted

1 solution

That is a bad idea - creating a table is a major thing to do (in terms of effects on the DB, if not in terms of code), you should not be creating them every time the user clicks a button.
Are you sure you don't mean add a row to a table?
 
Share this answer
 
Comments
ProEnggSoft 25-Mar-12 12:35pm    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900