コード例 #1
0
 public string ExpenseMappingInsert(string strQuery)
 {
     objData.OpenConnection(_ObjCurInfo.GetCompanyCode());
     {
         //string StrSQL = "EXEC SP_SFA_User_Master_Update_Expense_Group '" + UserCode + "','" + ExpenseGroup + "','" + Checked + "','" + "COM00000009" + "'";
         try
         {
             objData.executeStringQuery(strQuery);
             return("SUCCESS");
         }
         catch (Exception ex)
         {
             ErrorLog.LogError(ex, "ExpenseMappingInsert()");
             return("FAIL");
         }
         finally
         {
             objData.CloseConnection();
         }
     }
 }