Hi
I have below code and i want to get the value of userid from table
SqlCommand cmd = new SqlCommand("Users", con); cmd.CommandType = CommandType.Text; con.Open(); cmd.ExecuteNonQuery(); int Status = Convert.ToInt32(cmd.ExecuteScalar());
Thanks