Esempio n. 1
0
    private void ShowPageContent(string searchKey, string searchID)
    {
        // create filter paramters
        string filterStr = string.Format("AND ({1} = '{0}')", searchKey, searchID);

        gvItems.DataSource = new CarsSaleInvoiceManager().GetCarSaleInvoice(filterStr);
        gvItems.DataBind();

        GridViewUtility.SetHeaderFooter(gvItems);
    }
Esempio n. 2
0
    private void ShowPageContent(string searchKey, string searchID)
    {
        // create filter paramters
        string filterStr = string.Format("AND InvoiceNo <> '' AND InvoiceDate IS NOT NULL AND ({1} LIKE '%{0}%')", searchKey, searchID);

        gvItems.DataSource = new ShippInvoiceManager().GetShippInvoice(filterStr);
        gvItems.DataBind();

        GridViewUtility.SetHeaderFooter(gvItems);
    }
Esempio n. 3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            FillUsersList();

            // Show alert if data saved
            if (Request.QueryString["action"] != null)
            {
                divError.CssClass = "alert alert-block alert-success"; divError.Visible = true;
                lblError.Text     = Resources.AdminResources_ar.SuccessSave;
            }
            // AssignControlsForLevel
            //AssignControlsForLevel(SessionManager.Current.LevelID);
        }

        GridViewUtility.SetHeaderFooter(gvUsers);
    }