Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
113532 Points
12480 Posts
Microsoft
Dec 29, 2010 12:39 AM|LINK
Hi richard1970,
If you want to access the TextBoxes in multiple rows, you can loop the GridView and access it from each row:
For Each gvr As GridViewRow In GridView1.Rows Dim tb As TextBox = DirectCast(gvr.FindControl("TextBox1"), TextBox) Next
You can use the same way to access any control from ItemTemplate in GridView.
Thanks,
Qin Dian Tan...
All-Star
113532 Points
12480 Posts
Microsoft
Re: Gridview: editing one cell and updating based on calculation
Dec 29, 2010 12:39 AM|LINK
Hi richard1970,
If you want to access the TextBoxes in multiple rows, you can loop the GridView and access it from each row:
For Each gvr As GridViewRow In GridView1.Rows
Dim tb As TextBox = DirectCast(gvr.FindControl("TextBox1"), TextBox)
Next
You can use the same way to access any control from ItemTemplate in GridView.
Thanks,
If you have any feedback about my replies, please contactmsdnmg@microsoft.com.
Microsoft One Code Framework