开发者

One ObjectDataSource for two ASP.NET controls

Does anyone know how many trips t开发者_如何学Pythono the database will be made on Select if I use one ObjectDataSource for two ASP.NET controls?


Two trips http://forums.asp.net/t/1449289.aspx

you can cach the data http://www.asp.net/data-access/tutorials/caching-data-with-the-objectdatasource-vb

or make a call to the object

List<T> foo = yourObject.GetSource();
control1.DataSource = foo;
control2.DataSource = foo;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜