Subject: Adding new field to a database table in run time
Posted By: dotnet cat Post Date: 10/6/2005 10:07:19 AM

Hi everyone,
              can anyone help me to do this? I wanna add a new field to existing table in a database using vb.net. How can I achieve this?
Thanks in advance.

Reply By: jbenson001 Reply Date: 10/6/2005 1:36:18 PM
You would need to construct an AlterTable statement(See SQL Server's Books On Line)
Then use the Execute NonQueryMethod

Jim


Go to topic 35473

Return to index page 458
Return to index page 457
Return to index page 456
Return to index page 455
Return to index page 454
Return to index page 453
Return to index page 452
Return to index page 451
Return to index page 450
Return to index page 449