Пример #1
0
        void MtdLoadTbl5()
        {
            dataGridView1.DataSource = MtdTbl5Gets();
            MtdUnSelect();

            lblTotal.Text      = VNTCode.Controller.MtdIntToString(oCtrLer.Tbl5_Gets_OrderDesByCreateDate_Count(Convert.ToInt32(cbbTbl3.SelectedValue)));
            lblNewCount.Text   = VNTCode.Controller.MtdIntToString(oCtrLer.Tbl5_Gets_OrderDesByCreateDate_NewCount(Convert.ToInt32(cbbTbl3.SelectedValue)));
            lblTotalICol1.Text = VNTCode.Controller.MtdIntToString(oCtrLer.Tbl5_SumICol1(Convert.ToInt32(cbbTbl3.SelectedValue))) + " (ly)";
            lblNewICol1.Text   = VNTCode.Controller.MtdIntToString(oCtrLer.Tbl5_SumICol1_New(Convert.ToInt32(cbbTbl3.SelectedValue))) + " (ly)";

            if (pageSize != -1)
            {
                MtdGetPageCount();
            }
        }