471,350 Members | 1,576 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

GridView1.Rows[r].Cells[i].Text problem

Using the code:


allows me to get the text field from each column, except columns with a
LinkButton in them (template). This property is always blank.

Anyone know how I can populare the Text field?



*** Sent via Developersdex http://www.developersdex.com ***
Feb 8 '06 #1
1 4935
you want to populate the text property of the LinkButton?

I believe i did something similar to this awhile ago, I think I used:

LinkButton myLinkButton = (LinkButton)c.Rows[r].Cells[i].Controls[0]

That may not be correct, but you get the idea. its been awhile since I
needed to do that.

Feb 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by jhallbox | last post: by
3 posts views Thread by Jim Heavey | last post: by
reply views Thread by Luis Esteban Valencia | last post: by
1 post views Thread by rhoenig | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.