コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         GridView1.ClearSearchFilters();
         FilterToNthPage(GridView1.SearchFilters, GridView1.CurrentSortExpression, (string)GridView1.CurrentSortDirection, 1);
     }
 }
コード例 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _Almacen = "6";
            _Estado  = "2";
            if (!IsPostBack)
            {
                GridView1.ClearSearchFilters();
                _OC = OC_textBoxs.Text;

                // FilterToNthPage(GridView1.SearchFilters, GridView1.CurrentSortExpression, (string)GridView1.CurrentSortDirection, 1);
            }
        }
コード例 #3
0
        private void Buscar()
        {
            GridView1.Visible = false;


            GridView1.ClearSearchFilters();
            FilterToNthPage(GridView1.SearchFilters, GridView1.CurrentSortExpression, (string)GridView1.CurrentSortDirection, 1);
            //FilterToNthPage(dat,)

            /*  GridView1.DataSource = Fabricacion_stock (DropDownDesde.SelectedValue, DropDownHasta.SelectedValue);
             * GridView1.DataBind();*/
            GridView1.Visible = true;
        }
コード例 #4
0
        private void Buscar()
        {
            GridView1.Visible = false;

            DataTable dat = new DataTable();

            if (OC_textBoxs.Text.Length > 0)
            {
                _OC = OC_textBoxs.Text;
                GridView1.ClearSearchFilters();
                FilterToNthPage(GridView1.SearchFilters, GridView1.CurrentSortExpression, (string)GridView1.CurrentSortDirection, 1);
                //FilterToNthPage(dat,)

                /*  GridView1.DataSource = Fabricacion_stock (DropDownDesde.SelectedValue, DropDownHasta.SelectedValue);
                 * GridView1.DataBind();*/
                GridView1.Visible = true;
            }
        }