Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. If e.CommandName = "Select" Then
  2. 'Add to session variable; translate the index of clicked to Primary Key
  3. Session.Add("DetailsKey", GridView1.DataKeys(e.CommandArgument).Value.ToString)
  4. Response.Redirect("staffstaff.aspx")
  5. End If
  6.  
  7. Response.Redirect("~/staff/staff.aspx")
  8.  
  9. Response.Redirect("~/staff/staff.aspx");
  10.  
  11. Dim odid As Integer = Convert.ToInt32(e.CommandArgument)
  12. Response.Redirect("~/OrderDetails.aspx?invo=" + odid + "")
  13.  
  14.  
  15. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement