Exemplo n.º 1
0
        void MtdLoadTbl5()
        {
            MtdCreateController();
            List <VNTCode.Tbl5> lstTbl5 = oCtrLer.Tbl5_Gets_ByIdTbl3(Convert.ToInt32(comboBox1.SelectedValue.ToString()));

            listView2.Items.Clear();
            for (int i = 0; i < lstTbl5.Count; i++)
            {
                ListViewItem item = listView2.Items.Add("(" + lstTbl5[i].ICol3.ToString() + ") " + lstTbl5[i].Tbl1.SCol1 + " - " + lstTbl5[i].Tbl2.SCol1 + " - " + lstTbl5[i].ICol1.ToString());
                item.Name        = lstTbl5[i].Id.ToString();
                item.ToolTipText = VNTCode.Controller.MtdDecimalToString(lstTbl5[i].MCol2.Value);
            }
        }