GridView中的数据绑定,无需使用eval [英] Data binding in gridview without using eval
本文介绍了GridView中的数据绑定,无需使用eval的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
任何人都可以告诉我如何在不使用gridview中的Eval方法的情况下动态地将数据绑定到gridview.
在此先感谢
Hello,
Can any body tell me how to bind the data to the gridview without using Eval method in gridview and dynamically.
Thanks in advance
推荐答案
如果不使用某些类型的绑定方法,您将无法执行.整个目的是使将数据绑定到模板变得容易.如果要动态执行操作,则需要使用自定义服务器控件手动完成所有操作.
Without using some type of binding method you can''t. The entire purpose is to make it easy to bind data to a template. If you want to do it dynamically then you''ll need to do it all manually using a custom server control.
这篇关于GridView中的数据绑定,无需使用eval的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文