hi there,
I hope this will help you.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
HyperLink hlnk = (HyperLink)e.Row.Cells[0].Controls[1];
hlnk.NavigateUrl = "javascript:getPage(" + hlnk.Text + ")";
}
}
|