Exemplo n.º 1
0
 private void ChangePhotoDesc_Click(object sender, EventArgs e)
 {
     DBRequests.MakeRequest(DBRequests.ChangePhotoDescription(_activePhoto.ID, PhotoDescTextBox.Text), (connection, command) =>
     {
         using (var reader = command.ExecuteReader())
         {
             PhotoDescriptionLabel.Text = PhotoDescTextBox.Text;
         }
     }
                            );
 }