开发者

Why is ASP.NET data access so ugly?

I can't figure how to make a decent website without using the asp.net builtin data controls like SqlDataSource and DataGrid. Is there a 开发者_Go百科cleaner way to do this?


Yes there is, you don't really need an SqlDataSource, theres a reason for web.config files and stored procedures. You're going to have to read about how to use ASP.net to connect to a database and how to pull data using parameterized stored procedures. Look up web.config file, connection strings, and system.data.sql.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜