daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         public int serch(int value)
  2.         {
  3.             string query = "SELECT RentalNumber FROM rentalofrooms WHERE RentalNumber = value";
  4.             cmd = new MySqlCommand(query, connection);
  5.  
  6.             connection.Open();
  7.             value = Convert.ToInt32(cmd.ExecuteScalar());
  8.             connection.Close();
  9.  
  10.             return value;
  11.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top