开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜