Exemple #1
0
 public static string CheckStatus(string SuppliersID)
 {
     try
     {
         strErrorMessage = strErrorType = "";
         GeneralBL.AddUpdate(100, "@SuppliersID", SuppliersID, "SPR_Suppliers", ref strErrorMessage);
         if (strErrorMessage.Length < 1)
         {
             return(strErrorMessage);
         }
         else
         {
             return(strErrorMessage);
         }
     }
     catch (Exception exp)
     {
         return(strErrorMessage = exp.Message);
     }
 }