The GridView also exposes a RowUpdating event that allows you to modify the values being passed to the data source object.
GridView 也公开一个 RowUpdating 事件,允许您修改正在传递到数据源对象的值。
You might want to handle the RowUpdating event by HTML-encoding the values supplied by the client before they are persisted to the underlying data store.
您可能想在客户端提供的值存留到下层数据存储之前,通过HTML编码来处理RowUpdating事件。
应用推荐