Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. public void UpdateRoom(int id,int ileOsob, int ilePoje, int ilePodw, bool czyTaras, int koszt)
  2. {
  3. //cala reszta chyba wiadomo o co chodzi
  4.  
  5. int result = database.ExecuteNonQuery($"UPDATE rental SET idroom = {id}, guests = {ileOsob}, singlebeds = {ilePoje} doublebeds = {ilePodw}, balcony = {czyTaras}, occupied = {true}, cost = {koszt} WHERE idrental = {id}")
  6.  
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement