|
-
March 19th, 2009, 05:17 AM
#1
Response.Reirect()...
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.Cells.Count > 0)
{
strGridValue = e.Row.Cells[0].Text;
if (strGridValue != "ID")
{
e.Row.Attributes.Add("ondblclick", "javascript:alert('" + strGridValue + "')");
Session.Add("Value", strGridValue);//This Line of code will work here?
Response.Redirect("Default.aspx");//This Line of code will work here?
}
}
}
This code is not working....Please help...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|