a guest Jan 22nd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- public int serch(int value)
- string query = "SELECT RentalNumber FROM rentalofrooms WHERE RentalNumber = value";
- cmd = new MySqlCommand(query, connection);
- value = Convert.ToInt32(cmd.ExecuteScalar());
- return value;
RAW Paste Data