Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Accounting_Utilities.Fill_Dropdown(ddlfeetype, "tbl_lkp_subobj Order by Description", "Description", "Subobj_Id", "", "Select Fee Type");
         Accounting_Utilities.BindDropdown(ddlrecstate, 9);
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Accounting_Utilities.BindDropdown(ddlbatchstatus, 20);
         // Accounting_Utilities.BindDropdown(ddluser, 16);
         Accounting_Utilities.Fill_Dropdown(ddluser, "tbl_Login Order by UserName", "UserName", "loginID", "", "ALL");
     }
     txtCreatedTo.Attributes.Add("onblur", "javascript:checkdates()");
 }
Beispiel #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            DataSet ds = Accounting_Utilities.GetInvoiceprint(Request.QueryString[0].ToString());

            if (ds.Tables[0].Rows.Count > 0)
            {
                DataRow dr = ds.Tables[0].Rows[0];
                lblbillto.Text = dr["Billto"].ToString();
                lblinvno.Text  = dr["InvoiceNumber"].ToString();
                lbllicno.Text  = dr["Indicator"].ToString();
                lbladdr.Text   = dr["Address1"].ToString() + " , " + dr["Address2"].ToString() + " ,<br>" + dr["City"].ToString() + " " + dr["State"].ToString() + " " + dr["Zip"].ToString() + ".";
            }
            grd.DataSource = ds.Tables[1];
            grd.DataBind();
        }
 protected void batch_close(object sender, EventArgs e)
 {
     Accounting_Utilities.Closebatch(hfdselbatch.Value);
     hfdselbatch.Value = "";
     ScriptManager.RegisterStartupScript(Page, GetType(), "js", "afterclose()", true);
 }