Beispiel #1
0
        protected void btnSearch_Click(object sender, EventArgs e)
        {
            BusinessLayer.Accounts.Tax objTax = new BusinessLayer.Accounts.Tax();
            Entity.Accounts.Tax        tax    = new Entity.Accounts.Tax();
            tax.FeesHeadId = int.Parse(ddlFeesHead.SelectedValue);
            tax.FromDate   = DateTime.Parse(txtFromDate.Text);
            tax.ToDate     = DateTime.Parse(txtToDate.Text);
            tax.CompanyId  = int.Parse(Session["CompanyId"].ToString());

            DataTable dt = new DataTable();

            dt = objTax.Service_Tax_ByFeesHead_Report(tax);
            gvServiceTax.DataSource = dt;
            gvServiceTax.DataBind();
        }
Beispiel #2
0
        protected void btnSearch2_Click(object sender, EventArgs e)
        {
            BusinessLayer.Accounts.Tax objTax = new BusinessLayer.Accounts.Tax();
            Entity.Accounts.Tax        tax    = new Entity.Accounts.Tax();
            tax.LedgerId       = int.Parse(ddlLedger.SelectedValue);
            tax.ParentLedgerId = int.Parse(ddlCashBankLedger.SelectedValue);
            tax.FromDate       = DateTime.Parse(txtFromDate2.Text);
            tax.ToDate         = DateTime.Parse(txtToDate2.Text);
            tax.BranchId       = int.Parse(Session["BranchID"].ToString());
            tax.CompanyId      = int.Parse(Session["CompanyId"].ToString());

            DataTable dt = new DataTable();

            dt = objTax.Service_Tax_ByLedgerId_Report(tax);
            gvServiceTax2.DataSource = dt;
            gvServiceTax2.DataBind();
        }
Beispiel #3
0
 protected void LoadTaxMaster()
 {
     BusinessLayer.Accounts.Tax objTax = new BusinessLayer.Accounts.Tax();
     CheckBoxListTax.DataSource = objTax.GetAllDistinct();
     CheckBoxListTax.DataBind();
 }