Guest User

Untitled

a guest
Jul 17th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. protected void dsReferralInsert_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
  2. {
  3. int intKey;
  4. if (int.TryParse(e.ReturnValue, out intKey))
  5. {
  6. Response.Redirect("ReferralDetail.aspx?ReferralID=" + intKey.ToString());
  7. }
  8. }
  9.  
  10. void CustomerDetailsView_ItemInserted(Object sender,
  11. DetailsViewInsertedEventArgs e)
  12. {
  13. var key = e.Values["Key"];
  14.  
  15. }
Add Comment
Please, Sign In to add comment