Example #1
0
    private void llenado()
    {
        cdc = new ConexionLQDataContext();
        GrillaAnime.DataSource = cdc.vAnime.OrderBy(x => x.Nombre);
        GrillaAnime.DataBind();

        String Nick = Convert.ToString(Session["Admin"]);

        GrillaAnimeNA.DataSource = cdc.vAnimeUsuarioNA(Nick).OrderBy(x => x.Nombre);
        GrillaAnimeNA.DataBind();
    }
Example #2
0
 protected void btn_buscar_Click(object sender, EventArgs e)
 {
     cdc = new ConexionLQDataContext();
     GrillaAnime.DataSource = cdc.vAnime.Where(x => x.Nombre.Contains(txt_buscar.Text.Trim())).OrderBy(x => x.Nombre);
     GrillaAnime.DataBind();
 }
Example #3
0
 private void llenar()
 {
     cdc = new ConexionLQDataContext();
     GrillaAnime.DataSource = cdc.vAnime.OrderBy(X => X.Nombre);
     GrillaAnime.DataBind();
 }