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.
 
Back
Top