Asp.Net Ajax 手风琴
我有两个问题:
我正在尝试连接手风琴内容部分内的表单视图。我选择 ObjectDataSource,对其进行配置并将其放置在设计器的页面上。当我切换回代码视图时,根本没有用于 ObjectDataSource 连接的代码。当我运行该页面时,表单视图不显示任何数据。我什至告诉手风琴数据源 ID 是 Object DataSource,但它错误地指出它不存在!为什么会发生这种情况?
我需要单击一个按钮并动态创建一个新的手风琴窗格,其中包含可以填写和更新数据库的空白表单视图。理论上,我需要能够根据需要创建尽可能多的新表单。我怎样才能做到这一点?
I have two problems:
I am trying to connect a form view that is inside the content section of an accordion. I choose my ObjectDataSource, configure it and drop it on the page with the designer. When I switch back to the code view there is no code at all for the ObjectDataSource connection. When I run the page the form view displays no data whatsoever. I even told the accordion that the datasource ID was Object DataSource and it errors out saying that it doesn't exist! Why is this happening?
I need to click a button and dynamically create a new accordion pane with a blank form view that can be filled out and update the database. Theoretically I need to be able to create as many new forms as needed. How can I accomplish this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论