开发者

One ObjectDataSource for two ASP.NET controls

开发者 https://www.devze.com 2023-03-01 00:13 出处:网络
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

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

精彩评论

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