本文介绍了如何在Windows窗体上的datagridview上向现有文本附加红色*的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 在运行时期间无法在网格视图的绑定数据文本的末尾附加红色* 我尝试了什么: 尝试添加一个带有两个不同标签的用户控件,其中第一个包含实际网格单元数据,第二个包含红色*。但是,在运行期间无法用用户控件替换网格单元格的文本。解决方案 Not able to append a red * at the end of a text of a bound data on a grid view during runtime.What I have tried:Tried to add a user control with two different label on which first one contains actual grid cell data and second one contains red *. However, not able to replace grid cell's text with user control during runtime. 解决方案 这篇关于如何在Windows窗体上的datagridview上向现有文本附加红色*的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 11:38