public bool SaveCV(int nCaseID, DataSet ds) { string cmdtxt = "SELECT * FROM tblCase WHERE nCaseID = '" + SqlHelperUtils.ToSingleQuoteString(nCaseID.ToString()) + "'"; SqlHelperUtils.UpdateDataSetSingleTableWithTransaction(ds, cmdtxt); return(true); }
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); }