예제 #1
0
        public static void DeleteField(string CompanyID, string ID, string FieldName, string TableType)
        {
            DataHelper.ExecuteQuerys("ALTER TABLE " + CompanyDAL.GetTableName(CompanyID, TableType) + " Drop column " + FieldName);
            FieldDAL.DeleteField(ID);
            string where = "CompanyID='{0}' and TableType ='{1}'";
            DataSet ds = FieldDAL.GetFieldList(string.Format(where, CompanyID, TableType));

            HttpContext.Current.Cache[Tools.GetCashName(CompanyID, TableType)] = ds;
        }
예제 #2
0
 public static void DeleteField(string IDs)
 {
     FieldDAL.DeleteField(IDs);
 }