如何在GridView的行更新事件中更改行的颜色 [英] how to change the colour of row in row updating event of gridview

查看:119
本文介绍了如何在GridView的行更新事件中更改行的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改gridview的行中更新事件的颜色.

how to change the colour of row in row updating event of gridview.

推荐答案


根据您的需要选择事件:
GridView.RowEditing事件 [ GridView.RowUpdating事件 [ GridView.RowUpdated事件 [ GridViewRow类 [ BackColor属性 [ ^ ]相关联在此行级别,您可以根据需要进行设置.
Pick the event as per your need:
GridView.RowEditing Event[^]
GridView.RowUpdating Event[^]
GridView.RowUpdated Event[^]

Use GridViewRow Class[^]

There is a BackColor property[^] associated at this row level which you can set as per needed.


这篇关于如何在GridView的行更新事件中更改行的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆