下面代码放到StartEdit事件,不能禁止粘贴。
If e.Col.name="地区名称" e.Table.DataTable.AllowClipBoard = FalseElse e.Table.DataTable.AllowClipBoard = TrueEnd If