protected void btn_Result_Click(object sender, EventArgs e)
        {
            Brand brand = new Brand();

            brand.Brand_name = "%" + this.txt_Name.Text + "%";
            BrandProvider provider = new BrandProvider();

            this.ListPager1.RecordCount = provider.GetSize(brand);
            this.BindSource(0, "%" + this.txt_Name.Text + "%");
            this.ListPager1.PageChange += new PagerEventHandler(ListPager1_PageChange);
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         BrandProvider provider = new BrandProvider();
         this.ListPager1.RecordCount = provider.GetSize();
         this.BindSource(0, null);
     }
     this.account.Text           = Session["LOGINED"].ToString();
     this.datetime.Text          = this.BindDayWeek();
     this.ListPager1.PageChange += new PagerEventHandler(ListPager1_PageChange);
 }