Use the SqlCommand.ExecuteScalar method , for example:
command.CommandText = @"select max(PolicyID) from Policies";
int maxPolicyId = (int)command.ExecuteScalar();
In addition, if you do this to insert a new policy line with a unique identifier, you should not do it this way, because it is quite possible that another policy line will be inserted between the selection and insertion.
Use a column IDENTITYor column instead UNIQUEIDENTIFIER.
EDIT. , :
int maxId;
using (SqlConnection dataConnection = new SqlConnection(@"Data Source=JAGMIT-PC\SQLEXPRESS;Initial Catalog=SumooHAgentDB;Integrated Security=True"))
using (SqlCommand dataCommand =
new SqlCommand("select max(PolicyID) from Policies", dataConnection)) {
dataConnection.Open();
maxId = Convert.ToInt32(dataCommand.ExecuteScalar());
}