Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
4868 Points
851 Posts
May 08, 2012 04:21 AM|LINK
hi
Are you trying to get the single row? or you want to loop thru all the rows?
TextBox txtreason = (TextBox)GridView1.Rows[0].FindControl("txtreason");
Try this....Please clarify whether the Dropdown will be avlb for each rows? or on the header
thanks.
cninjas
Contributor
4868 Points
851 Posts
Re: set the readonly property to textbox in gridview using dropdownlist
May 08, 2012 04:21 AM|LINK
hi
Are you trying to get the single row? or you want to loop thru all the rows?
TextBox txtreason = (TextBox)GridView1.Rows[0].FindControl("txtreason");Try this....Please clarify whether the Dropdown will be avlb for each rows? or on the headerthanks.Niranjan