开发者

.NET: Which strategy is better for populating a gridview? using a Data Table and bind it or using a data reader?

ASP.NET: Which strategy is better for populating a gridview? filling a Data Table and bind it or using a data read开发者_高级运维er ? Which one has a better performance?


A datareader is always faster (since the datatable uses it to fill itself also), but it's trivial.. just use what'll be the fastest to develop.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜