I did it this way. Thanks for all your help.
SqlConnection con7 = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["HotConnectionString"].ConnectionString);
con7.Open();
SqlCommand level = new SqlCommand("Select User_ID, SUBMITTED, FINYR from Table99 where User_ID = @User_ID AND FINYEAR = 2015", con7);
level.Parameters.Add(new SqlParameter("User_ID", TextBoxUser_ID.Text));
level.Parameters.Add(new SqlParameter("SUBMITTED", TextBoxSUB.Text));
SqlDataReader reader3 = level.ExecuteReader();
DataTable dt1 = new DataTable();
dt1.Load(reader3);
foreach (DataRow dr1 in dt1.Rows)
{
string returnedLevel = (dr1[1].ToString());
int inst_id = Convert.ToInt32(dr1[0].ToString());
Session["inst_id"] = inst_id;
if (returnedLevel == "False")
{
ButtonSubmit.Visible = true;
}
else if (returnedLevel == "True")
{
ButtonSubmit.Visible = false;
}
con7.Close();
reader3.Close();