예제 #1
0
        //true = ada data
        //false = tidak ada data
        private bool cekTransaksiUploadMhs()
        {
            DataTable dt = null;
            cQuery    qr = new cQuery();
            cDatabase db = new cDatabase();

            dt = db.selectDataSqlite(qr.qSelectTransaksiMhsStatus0Limit1()); // ambil data dari sqlite
            if (dt.Rows.Count != 0)                                          //jika ada data
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }