public bool SaveStudentCashInfo(DsPSMS.ST_STUDENT_CASHRow dr, out string msg)
        {
            bool isOk = true;

            if (dr == null)
            {
                msg = "data is empty ";
                return(false);
            }
            try
            {
                Open();
                int result = stuCashDb.insertStuCash(dr);
                msg = "insert complete";
            }
            catch
            {
                msg = "error occurs when inserting data Student Cash Information";
                return(false);
            }
            finally
            {
                Close();
            }

            return(isOk);
        }
        protected void showOneCashData(DsPSMS.ST_STUDENT_CASHRow dr)
        {
            DsPSMS.ST_STUDENT_CASHDataTable stuCashDt = new DsPSMS.ST_STUDENT_CASHDataTable();

            stuCashDt = stuCashService.getCashData(dr, out msg);
            if (stuCashDt != null)
            {
                stuCashDt.Columns.Remove(stuCashDt.Columns[7]);
                stuCashDt.Columns.Remove(stuCashDt.Columns[7]);
                stuCashDt.Columns.Remove(stuCashDt.Columns[7]);
                stuCashDt.Columns.Remove(stuCashDt.Columns[7]);
                stuCashDt.Columns.Remove(stuCashDt.Columns[7]);
                cashList.DataSource = stuCashDt;
                cashList.DataBind();
            }
        }