예제 #1
0
        void MtdLoadTbl1()
        {
            MtdCreateController();
            List <VNTCode.Tbl1> lstTbl1 = oCtrLer.Tbl1_Gets_OrderBySCol1();

            //(from tbl1s in oCtrLer.MemLinq.Tbl1s
            // select tbl1s).OrderBy(t1 => t1.SCol1).ToList();
            ddlTbl1.DataSource = lstTbl1;
        }
예제 #2
0
        void MtdLoadTbl1()
        {
            MtdCreateController();
            List <VNTCode.Tbl1> lstTbl1 = oCtrLer.Tbl1_Gets_OrderBySCol1();

            VNTSellGold.App_Code.Tbl1 oTbl1 = new VNTSellGold.App_Code.Tbl1();
            oTbl1.Id    = 0;
            oTbl1.SCol1 = "Tất cả";
            lstTbl1.Insert(0, oTbl1);
            ddlTbl1.DataSource = lstTbl1;
        }