/// <summary> /// 删除列 /// </summary> /// <param name="tableName"></param> /// <param name="fields"></param> public void DelColumns(string tableName, TableField[] fields) { string strSQL = "ALTER TABLE " + tableName + " DROP "; foreach (TableField tf in fields) { connector.Excute(strSQL + " column " + tf.Name); } connector.DelFieldMark(tableName, fields); }