开发者

ASP.NET 2.0 - scaffolding a database table for webforms

Can you recommend a tool that can analyze a SQL database table, read the table columns, and populate an .aspx page with appropriate controls (i.e. textboxes with matching labels)?

See this demo of ComponentOne InputPanel for WinForms for the functionality desired.

Are there any built-in tools for ASP.NET 2.0 WebForms 开发者_JAVA技巧that can help build a scaffold page for any given database table or entity? Are there any free components out there to help achieve this goal?


Have you considered using an ASP.NET Dynamic Data page for this?

Here's a Getting Started video. It focuses on using VS 2008.

If you can't directly use the output of Dynamic Data due to a v2.0 limitation, you could perhaps fire up a new DD project in 3.5, and have the scaffold built for you. Then copy-paste the resultant markup, and paste into your 2.0 page. That would get you a head-start on not having to create all those asp:textbox and asp:dropdownlist controls yourself. You'd then have to wire up the DataSources as you see fit.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜