Ejemplo n.º 1
0
 protected void btn_save_Click(object sender, EventArgs e)
 {
     using (AlmacenEntities modelo = new AlmacenEntities())
     {
         string nam = txtnombre.Value;
         string add = txtdireccion.Value;
         string mun = txtmunicipio.Value;
         modelo.prApp_Bodega_Insert(nam, add, mun);
     }
     Response.Redirect("WebBodega.aspx");
 }