Ok, how are you passing the result set to the datagridview? threw a DataReader or DataSet, their both have a method that return if there is data.
DataReader.HasRows(), return true is the reader has any data.
DataSet.Tables(0).Rows.Count Return how many rows were retrieve by the statement as integer.
hope that help you, regards.