Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
How to access the control in grid view.
PankaJ D
Apr 5 2011 3:49 AM
1.8k
Reply
I want to access the control in gridview,but not in grid events,I have use following code but its not working plz help me..
foreach (GridViewRow row in gvRegisterProduct.Rows)
{
if (row.RowType == DataControlRowType.DataRow)
{
LinkButton lbreview = (LinkButton)row.FindControl("review");
lbreview.Attributes.Add("style", "display:block");
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Assigning value to tablecell?
Create a webpage and on click of button, run an application