N
Nat
Old table name : tblTimeOption
New table name: tblDefinitionTimes
Keep getting this error for the following
code: "System.Data.SqlClient.SqlException: Invalid object
name 'tblTimeOption'.
However code says this:
Dim sSqlCommand1 As String _
= "Insert Into tblDefinitionTimes (DefId,
StartTime, " _
& "Participant, InsertDate, UpdateDate) Values
(@DefId, @StartTime, " _
& "@Participant, @InsertDate, @UpdateDate)"
Dim cmdTimeOption As New SqlCommand(sSqlCommand1,
conProShop)
Try
If cmdDefinitions.ExecuteNonQuery() > 0 Then
In Immediate Window sSqlCommand1 displays the "old" table
name even though the "new" name is spelled out! Why????
New table name: tblDefinitionTimes
Keep getting this error for the following
code: "System.Data.SqlClient.SqlException: Invalid object
name 'tblTimeOption'.
However code says this:
Dim sSqlCommand1 As String _
= "Insert Into tblDefinitionTimes (DefId,
StartTime, " _
& "Participant, InsertDate, UpdateDate) Values
(@DefId, @StartTime, " _
& "@Participant, @InsertDate, @UpdateDate)"
Dim cmdTimeOption As New SqlCommand(sSqlCommand1,
conProShop)
Try
If cmdDefinitions.ExecuteNonQuery() > 0 Then
In Immediate Window sSqlCommand1 displays the "old" table
name even though the "new" name is spelled out! Why????