Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在绑定一个数据表,该数据表的列具有像 www.google.com、www.google.com 这样的值。但是我喜欢在 RADGrid 中只渲染一个 www.google.com。如何使用数据格式字符串来实现呢?
我认为您必须编写自己的自定义 FormatProvider 才能执行此类操作。
这是一个简单的例子:
http://www.csharp-examples.net/custom-iformatprovider/