protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
예제 #2
0
 protected void Page_Unoad(object sender, EventArgs e)
 {
     db.Dispose();
 }