Exemplo n.º 1
0
    protected void BT_Enviar_Click(object sender, EventArgs e)
    {
        UComentarios datos = new UComentarios();
        LUser        user  = new LUser();

        datos.Descripcion = TB_Comentario.Text.ToString();
        datos.User_id     = int.Parse(Session["user_id"].ToString());


        datos = user.InsertarComentario(datos);
        this.Page.Response.Write(datos.Mensaje);
    }