예제 #1
0
 protected void Page_Unload(object sender, EventArgs e)
 {
     if (ctx != null)
     {
         ctx.Dispose();
     }
 }
예제 #2
0
 protected void Page_Unload(object sender, EventArgs e)
 {
     // it closes context in order to release resources
     if (ctx != null)
     {
         ctx.Dispose();
     }
 }
예제 #3
0
 protected void Page_Unload(object sender, EventArgs e)
 {
     // it closes context in order to release resources
     if (ctx != null)
     {
         ctx.Dispose();
     }
     //
     //Session["ResponsableGrid"] = null;
 }
예제 #4
0
 protected void Page_Unload(object sender, EventArgs e)
 {
     // es educado no dejar cosas abiertas por ahi
     ctx.Dispose();
 }
 protected void Page_Unload(object sender, EventArgs e)
 {
     ctx.Dispose(); // evitamos dejar conexiones abiertas.
 }
예제 #6
0
 public static void CTXCerrar(LainsaSci ctx)
 {
     ctx.Dispose();
 }