使用 Subcommander 生成编辑页面
有没有人使用 Subcommander 在 webforms 项目中生成视图或编辑 aspx 页面。
如果是这样,任何提示/帮助建议或替代方案都会非常有帮助。
Has anyone used Subcommander to generate views or edit aspx pages in webforms projects.
If so any tips/help advice or alternatives would be really helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我错了,请纠正我,但我的印象是 SubCommander 只是在命令提示符下使用 SubSonic?我认为它的设计初衷并不是为您生成视图/编辑页面。
然而,(如果您指的是 SubSonic 2)支架肯定会帮助您实现您想要实现的目标。
在 ASP.NET html 页面中,为您想要搭建的每个对象/表粘贴以下代码:
Correct me if I'm wrong but I was under the impression that SubCommander is simply for using SubSonic under a command prompt? I don't think it was ever designed to start generating views / edit pages for you.
There are however (if you're referring to SubSonic 2) scaffolds which will certainly assist with what you're trying to achieve.
From within your ASP.NET html page paste the following code for each object / table you wish to scaffold: