[英]ASP.NET GridView Row Methods Counterparts in WinForms DataGridView
Are there any ASP.NET GridView's RowCreated
, RowDataBound
counterpart methods? 是否有任何ASP.NET GridView的RowCreated
, RowDataBound
对应方法?
All I want is to break a string into lines before displaying. 我只想在显示之前将字符串分成几行。 I've put Environment.NewLine
to create a line break but have no success till now. 我已经用Environment.NewLine
创建一个换行符,但是到目前为止还没有成功。 So I think I need to RowCreated
or RowDataBound
, etc. events to make modifications. 所以我认为我需要对RowCreated
或RowDataBound
等事件进行修改。
仅仅预处理数据会更好吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.