prepareEdit事件
If e.Row("类型") = "代课" Then
If e.Col.Name = "第一列" OrElse e.Col.Name = "第二列"
e.Cancel = True
End If
If e.Row("锁定") = true Then