本文介绍了不使用DataSource控件的ASP.NET GridView示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找 GridView 的一些示例,用于显示,编辑,删除,分页,排序,批量更新等常见任务,但 没有 使用任何数据源控件 。我想将代码中的数据绑定到自定义对象集合。到目前为止我在网上找到的所有样本都使用了一些数据源控件,我认为企业应用程序不应该使用这种模式。如果你有任何gridview的例子执行常见任务而不使用任何数据源控件,你能不能请分享他们?这将非常有帮助。谢谢。

I am looking for some examples for GridView for common tasks like displaying, editing, deleting, paging, sorting, batch updates etc, but WITHOUT using any datasource controls. I would like to bind the data in the code to custom object collection. all the samples I found on the web so far use some data source control, I think Enterprise applications shouldn't be using this pattern.If you have any examples of gridview that performs the common tasks without using any data source control, can you please share them? that would be very helpful. thanks.

推荐答案



这篇关于不使用DataSource控件的ASP.NET GridView示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 02:53