Updating
i am gettin' error when am updating

4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 21, 2013, 8:09 PM EDT
The issue is due it is not able to find the control. Is there any textbox by id txtclassname in your gridview? Can you share your gridview code?
Regards,
Iftikar
Safeer Safeer171 reputationPosted Aug 21, 2013, 8:12 PM EDT
Safeer Safeer171 reputationPosted Aug 21, 2013, 8:12 PM EDT
BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
DataKeyNames="classId" DataSourceID="SqlDataSource2" Height="16px"
onpageindexchanging="gvclass_PageIndexChanging"
onselectedindexchanging="gvclass_SelectedIndexChanging" Width="268px"
onrowcancelingedit="gvclass_RowCancelingEdit" onrowediting="gvclass_RowEditing"
onrowupdating="gvclass_RowUpdating">
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 21, 2013, 8:17 PM EDT
Please refer the below link for editing gridview
http://devilswork.wordpress.com/2009/03/27/gridview-row-edit-delete-and-update/
Regards,
Iftikar