dynamically creating table in sql database
how 开发者_如何学Ccan i create a table dynamically in the database which is already created.i want the table be created when a button is clicked.
thank you
You need to build a CREATE TABLE
statement, making sure to escape all table and field names with [...]
, and use a SqlCommand
to execute it.
精彩评论