public string Add(string creator) { string result = "OK"; DataTable dt = null; DataTable dt1 = null; try { ServiceReference1.WSACUSoapClient client = new ServiceReference1.WSACUSoapClient(); DataSet ds = client.CardSave("A", cardId, cardNo, creator, DateTime.Now); dt = ds.Tables[0]; result = dt.Rows[0][0].ToString(); return(result); } catch { return("ERROR"); } }