ASP.net网页上表单标签 [英] Form tag on ASP.net page

查看:97
本文介绍了ASP.net网页上表单标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个具有加载从数据库中的内容的页面的Web应用程序。我希望能够把一种形式的动态内容,但.NET不让里面的形式执行它的动作。有没有办法让这个或其他一些方法可以让我得到一个动态内容页面上的表单?

I have a web application that has a page that loads the content from the database. I want to be able to put a form in the dynamic content, but .net doesn't let the inside form perform it's action. Is there a way to allow this or some other way I can get a form on a dynamic content page?

感谢。

- 编辑 -

我想我需要澄清一些东西。这是从数据库加载内容的aspx页面。据我所知,我从标签db和棍子拉文永远不会编译或由.NET WP处理,所以我不能用code后面来解决这个问题。

I think I need to clarify something. This is an aspx page that loads content from the database. As far as I know, the text I pull from the db and stick in the Label is never compiled or processed by the .net wp, thus I can't use the code behind to fix this issue.

推荐答案

有也只能是在页面(ASP窗体)上的一种形式;你必须以某种方式使用该表格。

There can only be one form on the page (the asp form); you have to use that form somehow.

要澄清,也只能是一种形式处理。

To clarify, there can only be one form processed.

这篇关于ASP.net网页上表单标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆