예제 #1
0
파일: Form1.cs 프로젝트: dsinfo/MobileOne
        private void button3_Click(object sender, EventArgs e)
        {
            try
            {
                MBasMatMstModel model = new MBasMatMstModel();

                MBasMatMstVO vo = model.SqlFind("GE450200108010025");

                Console.WriteLine(vo.Mat_CD);
                Console.WriteLine(vo.Mat_NM);
                Console.WriteLine(vo.Plant_CD);
            }
            catch (Exception ie)
            {
                Console.WriteLine(ie.ToString());
            }
        }
예제 #2
0
파일: Form1.cs 프로젝트: dsinfo/MobileOne
        private void button4_Click(object sender, EventArgs e)
        {
            try
            {
                MBasMatMstModel model = new MBasMatMstModel();

                String mat_nm = model.SqlFindString("GE450200108010025");

                Console.WriteLine(mat_nm);
            }
            catch (Exception ie)
            {
                Console.WriteLine(ie.ToString());
            }
        }