积极答复者
asp.net数据源控件用的多吗?为什么用或者不用?

问题
答案
-
Hi lctk,
数据源控件基本上很少用在实际开发项目中,原因有很多,主要是不灵活、性能方面、打破设计结构等。当然,使用数据源控件确实很方便,基本不写code就可以实现数据展现。所以,还是看项目需求和要求,有针对性的选择。至少现在具我了解,很少公司会直接用数据源控件去设计,要用也是重构过的控件。
可以参考数据源控件的一些介绍:http://www.asp.net/web-forms/overview/moving-to-aspnet-20/data-source-controls
Thanks,
Simon
- 已标记为答案 Will ShaoMicrosoft employee, Moderator 2015年3月30日 6:28
-
GridView, ListView, Repeater.
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.- 已标记为答案 Will ShaoMicrosoft employee, Moderator 2015年3月30日 6:28
全部回复
-
Hi lctk,
数据源控件基本上很少用在实际开发项目中,原因有很多,主要是不灵活、性能方面、打破设计结构等。当然,使用数据源控件确实很方便,基本不写code就可以实现数据展现。所以,还是看项目需求和要求,有针对性的选择。至少现在具我了解,很少公司会直接用数据源控件去设计,要用也是重构过的控件。
可以参考数据源控件的一些介绍:http://www.asp.net/web-forms/overview/moving-to-aspnet-20/data-source-controls
Thanks,
Simon
- 已标记为答案 Will ShaoMicrosoft employee, Moderator 2015年3月30日 6:28
-
GridView, ListView, Repeater.
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.- 已标记为答案 Will ShaoMicrosoft employee, Moderator 2015年3月30日 6:28