예제 #1
0
        private DataTable cekTransaksiMhs(string nim)
        {
            cDatabase db = new cDatabase();
            cQuery    qr = new cQuery();

            DataTable dtStatusMhs = null;

            //Cek dulu data yang mau diUpload apakah sudah ada atau belum
            dtStatusMhs = db.selectData(qr.qSelectTop1StatusMhsWhereStudId(nim), '2'); //2 = user ktm

            return(dtStatusMhs);
        }