S
segue
The below code doesn't give me the last record count.
Feedback very appreciated. Thanks for all that you do.
qstring = "SELECT COUNT(*) FROM CustomerInformation "
Dim newSql As New SqlConnection(connectionstr)
newSql.Open()
Dim catCMD As SqlCommand = newSql.CreateCommand()
catCMD.CommandText = qstring
Dim intRecordsAffected = catCMD.ExecuteNonQuery()
newSql.Close()
Feedback very appreciated. Thanks for all that you do.
qstring = "SELECT COUNT(*) FROM CustomerInformation "
Dim newSql As New SqlConnection(connectionstr)
newSql.Open()
Dim catCMD As SqlCommand = newSql.CreateCommand()
catCMD.CommandText = qstring
Dim intRecordsAffected = catCMD.ExecuteNonQuery()
newSql.Close()