View Single Post
  #2 (permalink)  
Old May 21st, 2010, 04:02 PM
samjudson's Avatar
samjudson samjudson is offline
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Why not just move the code from the Page_Load into a method of its own, and call it from the two button click events?
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?