开发者

dynamically creating table in sql database

开发者 https://www.devze.com 2023-02-20 20:01 出处:网络
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.

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

精彩评论

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