Hi friend….
Here is the task. I have inserted records in the sql database by a button click event. The records are inserted by means of text box, dropdown, radio button, and check box. I have inserted the text of all these controls. This happens successfully.
I have another button edit. First I write the empid in a empid textbox and click edit button. Now the record corresponding to this emp id must be populated in the controls again.
The problem is only textbox gets populated. Checkbox, radiobuttons, dropdown doesn’t support this.
Pls can u help me with c# code.
Here is the task. I have inserted records in the sql database by a button click event. The records are inserted by means of text box, dropdown, radio button, and check box. I have inserted the text of all these controls. This happens successfully.
I have another button edit. First I write the empid in a empid textbox and click edit button. Now the record corresponding to this emp id must be populated in the controls again.
The problem is only textbox gets populated. Checkbox, radiobuttons, dropdown doesn’t support this.
Pls can u help me with c# code.