public void StoreSalesman_OnrefreshData(object sender, StoreRefreshDataEventArgs e) { DataSet dsSalesman = GetComboxDs("SalesList"); StoreSalesman.DataSource = dsSalesman; StoreSalesman.DataBind(); }
private void ComboBoxBinding() { DataSet dsSalesman = GetComboxDs("SalesList"); DataSet dsLocation = GetComboxDs("LocationList"); DataSet dsUnit = GetComboxDs("UnitBinding"); DataSet dsItem = GetComboxDs("ItemBinding"); DataSet dsKind = GetComboxDs("QtyKindBinding"); DataSet dsCurrencysList = GetComboxDs("CurrencysInvoice"); DataSet dsGetItem = dal.FactoryDAL(PageHelper.ConnectionStrings, "FW_GetItem_SP", new List <IFields> { dal.CreateIFields() .Append("Option", "GetItem").Append("STAT", FSecurityHelper.CurrentUserDataGET()[12]).Append("SYS", "A") }).GetList(); StoreGetItem.DataSource = dsGetItem; StoreGetItem.DataBind(); StoreCurrInvoice.DataSource = dsCurrencysList; StoreCurrInvoice.DataBind(); StoreLocation.DataSource = dsLocation; StoreLocation.DataBind(); StoreUnit.DataSource = dsUnit; StoreUnit.DataBind(); StoreKind.DataSource = dsKind; StoreKind.DataBind(); StoreSalesman.DataSource = dsSalesman; StoreSalesman.DataBind(); ControlBinder.CmbBinder(StoreAgentLocal, "PPCC", "A"); }
protected void StoreSalesman_OnRefreshData(object sender, StoreRefreshDataEventArgs e) { DataSet dsSalesman = GetList("SalesList"); StoreSalesman.DataSource = dsSalesman; StoreSalesman.DataBind(); }
public void StoreSales_OnRefreshData(object sender, StoreRefreshDataEventArgs e) { DataSet dsSales = GetList("SalesList"); StoreSalesman.DataSource = dsSales; StoreSalesman.DataBind(); }
/// <summary> /// 绑定ComboBox /// </summary> #region ComboBoxBinder() Author :Micro (2011-09-06) void ComboBoxBinder() { //StoreCmb.DataSource = GetList("CompanyList"); //StoreCmb.DataBind(); //StoreCmbName.DataSource = GetList("CompanyListByName"); //StoreCmbName.DataBind(); //StoreCurrLocal.DataSource = GetList("CurrencysListLocal"); //StoreCurrLocal.DataBind(); ControlBinder.CmbBinder(StoreAgentLocal, "PPCC", "A"); DataSet dsLocation = GetList("LocationList"); StoreLocation.DataSource = dsLocation; StoreLocation.DataBind(); DataSet dsUnit = GetList("UnitBinding"); StoreUnit.DataSource = dsUnit; StoreUnit.DataBind(); DataSet dsCurrency = GetList("CurrencysList"); StoreCurrency.DataSource = dsCurrency; StoreCurrency.DataBind(); DataSet dsSales = GetList("SalesList"); StoreSalesman.DataSource = dsSales; StoreSalesman.DataBind(); //DataSet dsItem = GetList("ItemBinding"); //StoreItem.DataSource = dsItem; //StoreItem.DataBind(); //l_item.Template.Html = Template.Html; DataSet dsGetItem = dal.FactoryDAL(PageHelper.ConnectionStrings, "FW_GetItem_SP", new List <IFields> { dal.CreateIFields() .Append("Option", "GetItem").Append("STAT", FSecurityHelper.CurrentUserDataGET()[12]).Append("SYS", "A") }).GetList(); StoreGetItem.DataSource = dsGetItem; StoreGetItem.DataBind(); DataSet dsKind = GetList("QtyKindBinding"); StoreKind.DataSource = dsKind; StoreKind.DataBind(); StoreCurrInvoice.DataSource = GetList("CurrencysInvoice"); StoreCurrInvoice.DataBind(); //CmbFromRight.Template.Html = Template.Html; //CmbToRight.Template.Html = Template.Html; //CmbUnit.Template.Html = Template.Html; //l_unit.Template.Html = Template.Html; }
/// <summary> /// 绑定ComboBox /// </summary> #region ComboBoxBinder() Author :Micro (2011-09-06) void ComboBoxBinder() { ControlBinder.CmbBinder(StoreAgentLocal, "PPCC", "O"); DataSet dsLocation = GetList("LocationList"); StoreLocation.DataSource = dsLocation; StoreLocation.DataBind(); DataSet dsUnit = GetList("UnitBinding"); StoreUnit.DataSource = dsUnit; StoreUnit.DataBind(); DataSet dsGetItem = dal.FactoryDAL(PageHelper.ConnectionStrings, "FW_GetItem_SP", new List <IFields> { dal.CreateIFields() .Append("Option", "GetItem").Append("STAT", FSecurityHelper.CurrentUserDataGET()[12]).Append("SYS", "O") }).GetList(); StoreGetItem.DataSource = dsGetItem; StoreGetItem.DataBind(); DataSet dsKind = GetList("QtyKindBinding"); StoreKind.DataSource = dsKind; StoreKind.DataBind(); StoreCurrInvoice.DataSource = GetList("CurrencysInvoice"); StoreCurrInvoice.DataBind(); StoreSalesman.DataSource = GetList("SalesList"); StoreSalesman.DataBind(); ControlBinder.CmbBinder(StoreVessel, "VesselList"); cmbVesselText.Template.Html = TempVoyage.Html; }
private void ComboBoxBinding() { ControlBinder.CmbBinder(StoreAgentLocal, "PPCC", "A"); DataSet dsLocation = GetComboxDs("LocationList"); DataSet dsSalesman = GetComboxDs("SalesList"); DataSet dsCompany = new DataSet();//GetComboxDs("CompanyList"); DataSet dsCurrency = GetComboxDs("CurrencysList"); DataSet dsUnit = GetComboxDs("UnitBinding"); //DataSet dsItem = GetComboxDs("ItemBinding"); DataSet dsKind = GetComboxDs("QtyKindBinding"); DataSet dsDept = GetComboxDs("DeptBinding"); DataSet dsForeignKind = GetComboxDs("ForeignKind"); DataSet dsShipKind = GetComboxDs("ShipKind"); DataSet dsCompanyKind = GetComboxDs("CompanyKind"); //StoreCurrLocal.DataSource = GetComboxDs("CurrencysListLocal"); //StoreCurrLocal.DataBind(); StoreLocation.DataSource = dsLocation; StoreLocation.DataBind(); StoreSalesman.DataSource = dsSalesman; StoreSalesman.DataBind(); //StoreCompany.DataSource = dsCompany; //StoreCompany.DataBind(); StoreUnit.DataSource = dsUnit; StoreUnit.DataBind(); //l_unit.Template.Html = Template.Html; //StoreCurrency.DataSource = dsCurrency; //StoreCurrency.DataBind(); //StoreItem.DataSource = dsItem; //StoreItem.DataBind(); //l_item.Template.Html = Template.Html; DataSet dsGetItem = dal.FactoryDAL(PageHelper.ConnectionStrings, "FW_GetItem_SP", new List <IFields> { dal.CreateIFields() .Append("Option", "GetItem").Append("STAT", FSecurityHelper.CurrentUserDataGET()[12]).Append("SYS", "A") }).GetList(); StoreGetItem.DataSource = dsGetItem; StoreGetItem.DataBind(); StoreKind.DataSource = dsKind; StoreKind.DataBind(); StoreDept.DataSource = dsDept; StoreDept.DataBind(); StoreForeignKind.DataSource = dsForeignKind; StoreForeignKind.DataBind(); StoreShipKind.DataSource = dsShipKind; StoreShipKind.DataBind(); StoreCompanyKind.DataSource = dsCompanyKind; StoreCompanyKind.DataBind(); StoreCurrInvoice.DataSource = GetComboxDs("CurrencysInvoice"); StoreCurrInvoice.DataBind(); }