elham deljooei

elham deljooei

  • NA
  • 84
  • 73.3k

determine when user pressed btnSearch or ...

Jan 13 2013 7:02 AM
Hi everyone
i want to determine when user pressed buttonX1 or selected a row from dataGridViewX1 then run its command.
i don't know i should look at what...
i don't know, i should use what property or...
private void btnUpdatUser_Click(object sender, EventArgs e)
        {
            if (?????????????????? )
            {

              
            }
            else
            {
                MessageBox.Show("error");
            }
         }
3:27:28 PM



Answers (2)