SqlCommand1 = gcnew SqlClient::SqlCommand(); SqlCommand1->Connection = SqlConnection1; SqlCommand1->CommandType = CommandType::Text; SqlCommand1->CommandText = “SELECT count(*) FROM sysobjects WHERE name =’tblLocations'”; if (!Convert::ToBoolean(SqlCommand1->ExecuteScalar())) //True if label does exist { }