0

how can 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

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.