Use a command object of C#.Something like this
SqlCommand cmd = new SqlCommand(sql, conn);
where sql is the actual query to get the max value
from the table and conn is the connection string.
Then set the value of the label to value returned from the command object.
label.text=Convert.ToString(cmd.ExecuteScalar)
PBUH