GridView模板 [英] GridView Templates
本文介绍了GridView模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要黑白的EditItemTemplate和ItemTemplate ...
以及所有模板的说明..
请帮帮我..
Hi,
I want difference b/w the EditItemTemplate and ItemTemplate...
and also the description about the all Templates ..
pls help me ..
推荐答案
使用EditItemTemplate属性为TemplateField对象中处于编辑模式的项目指定显示的自定义内容.
您可以使用ItemTemplate来指定数据对象的可视化.
Use the EditItemTemplate property to specify the custom content displayed for an item that is in edit mode in a TemplateField object.
You use the ItemTemplate to specify the visualization of the data objects.
有关示例的完整详细信息,请参见:
ASP.NET 2.0的MSDN:GridView示例:使用TemplateFields [
Have a look at this for full detail with samples:
MSDN:GridView Examples for ASP.NET 2.0: Working with TemplateFields[^]
这篇关于GridView模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文