How do I insert a column programatically into a table?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I suppose I could simply use a SQL command with a data adapter to add a new
column to a database table.

Where can I find an example of how to do this?

Regards
Paul
 
Nope, you have to perform database specific DDL command (i.e. alter table
bla bla ) using IDbCommand.ExecuteNonQuery method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top