Click here to Skip to main content
16,019,957 members

Comments by Rahul Vohra (Top 15 by date)

Rahul Vohra 6-Mar-14 11:52am View    
Hi, thanks for the reply. I'm not sure how to do it. Can you help? skype - vohrahul, whatsapp - +919899929886, gmail - rvohra91
Rahul Vohra 24-Feb-14 15:45pm View    
Please replace your button1_click event handler to following:

private void button1_Click(object sender, EventArgs e)
{
Staff s = new Staff();
staffAG j = new staffAG();
j.id = comboBox2.SelectedIndex;
j.name = textBox2.Text;
j.age = textBox3.Text;
j.phone = textBox4.Text;
j.gender = "Male";

j.address = textBox5.Text;
j.post = comboBox1.Text;
s.updatestaff(j);
MessageBox.Show("Record updated");
}

and see if it works!
Rahul Vohra 24-Feb-14 13:49pm View    
No one to answer this??? :(
Rahul Vohra 15-Feb-14 11:53am View    
Thanks for replying! It was not detecting! I copied and pasted the scripts ref from another project and I realized I forgot to remove "~" from the source path! It is working fine now!
Rahul Vohra 14-Feb-14 15:59pm View    
Updated my question with the markup!! Please have a look at it and tell me where the problem is!! :(