K
Kent Johnson
Hi all,
I have the following:
==================
SQLSelect = "SELECT * from MyTable where Field1='" & strVar & "'"
Dim mySqlDA As New System.Data.SqlClient.SqlDataAdapter(SQLSelect, strConn)
Dim myDS As New System.Data.DataSet()
mySqlDA.Fill(myDS)
===================
...how can I handle the case if no records are retrived from the
SQL-statement?
/Kent J.
I have the following:
==================
SQLSelect = "SELECT * from MyTable where Field1='" & strVar & "'"
Dim mySqlDA As New System.Data.SqlClient.SqlDataAdapter(SQLSelect, strConn)
Dim myDS As New System.Data.DataSet()
mySqlDA.Fill(myDS)
===================
...how can I handle the case if no records are retrived from the
SQL-statement?
/Kent J.