Пример #1
0
        public void ProcessRequest(HttpContext context)
        {
            String nom = context.Request.Params["nombre"];
            Sexo   s   = new Sexo();

            s.nombre_sexo = nom;
            bd.Sexos.InsertOnSubmit(s);
            bd.SubmitChanges();
            context.Response.Redirect("../Default.aspx");
        }
Пример #2
0
 partial void UpdateSexo(Sexo instance);
Пример #3
0
 partial void DeleteSexo(Sexo instance);
Пример #4
0
 partial void InsertSexo(Sexo instance);