Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
This web page's will come from the row that I selected and the rest of this page content will come from the database.
Posted
Updated 23-Sep-15 0:00am
Comments
Thanks7872 23-Sep-15 6:12am    
And your question is?

1 solution

Use hyperlink instead of Link Button. That will work .
 
Share this answer
 
Comments
Member 12003400 23-Sep-15 6:32am    
yes you can do with same. can put roe data bound like this.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
HyperLink myHyperLink = e.Row.FindControl("myHyperLinkID") as HyperLink;
myHyperLink.NavigateUrl = (Label)e.Row.FindControl("LabelText")).Text;
//Or what ever link you want to assign
}
}

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900