Exemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         GXGridView1.TotalRecords = ViewBankslip.SelectCountCached();
         mvMain.SetActiveView(viewGrid);
         reportControl.BranchName  = BrokerHouseInformation.GetBrokerHouseNameByCode(BrokerHouseInformation.FIRST_ROW);
         reportControl.CompanyName = "Брокерско друштво";
         tbBankslipNumber.Text     = Bankslip.GetNextNumber(Broker.DataAccess.Bank.Table.First().ID);
     }
 }
Exemplo n.º 2
0
 protected void ddlBanks_SelectedIndexChanged(object sender, EventArgs e)
 {
     tbBankslipNumber.Text = Bankslip.GetNextNumber(Convert.ToInt32(ddlBanks.SelectedValue));
 }