Exemplo n.º 1
0
        public void Update(string Description)
        {
            try
            {
                string sSQL = "UPDATE tblGroup SET Description = '" + Description + "' WHERE Id =" + mvarID;

                OysterClassLibrary.Functions F = new OysterClassLibrary.Functions();
                Description = F.CheckSqlSafeString(Description);

                int numrecs = F.ExecuteNonQuery(sSQL);
            }
            catch(Exception Err)
            {
                throw new ApplicationException(Err.Message,Err.InnerException);
            }
        }