Free2Code
 
Time: 2008-12-04, 08:09pm
Adding a column to an existing SQL database table
Subject: Adding a column to an existing SQL database table  ·  Posted: 2007-04-21, 06:24pm
Rank: ? (5)
Member #: 27402
Visual Basic 2005
I used DataSet Designer to add a column called "Case#" to an existing SQL table.
The table is used by a DataGridView in a VB 2005 program.
I got it working on my development computer in debug mode.
Then, when I installed it, I got an exception "Case# is an invalid column" and none of my data records appeared.

Adding the following statement did not help:
PatientDataSet.Patient.Columns.Add("Case#")




 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons