Пример #1
0
        public bool SaveCV(int nCaseID, DataSet ds)
        {
            string cmdtxt = "SELECT * FROM tblCase WHERE nCaseID = '"
                            + SqlHelperUtils.ToSingleQuoteString(nCaseID.ToString()) + "'";

            SqlHelperUtils.UpdateDataSetSingleTableWithTransaction(ds, cmdtxt);
            return(true);
        }
Пример #2
0
        public bool SaveNewCVAction(DataSet dsTblCaseAction, int nCaseID, DataSet dsTblCase)
        {
            string cmdtxt = "SELECT * FROM tblCase WHERE nCaseID = '"
                            + SqlHelperUtils.ToSingleQuoteString(nCaseID.ToString()) + "'";

            SqlHelperUtils.UpdateDataSetTwoTableWithTransaction(dsTblCase, cmdtxt, dsTblCaseAction, cmdtxtTblCaseActionSave);
            return(true);
        }