English 中文(简体)
ASP中的表格POST。 NET
原标题:Form POST in ASP.NET

我试图将一个典型的爱幼学校网页转换成协会。 NET 3.5。 该网页有几种不同的内容。

In ASP. NET,有一台服务器,对整页进行控制,形成控制,在服务器形式控制范围内不进行工作,而且你可以在一页上控制一个以上的服务器形式。

因此,为了保持这一功能,我可以:

  • Remove the server form control that s wrapping the page, and leaving the html forms on the page.
  • Create button click events for every form and perform the POST in the code-behind.

这里的首选方法是什么?

最佳回答

我不禁要问,改用香草原(aka的网络版)是否是坏的。 而我个人则去MVC,允许多种形式等,他们的意见远近于他的超文本,如ASP。

我猜测I m 说,有一些冰川灰.。

问题回答

我将接受第二种选择,任何纽芬兰的点击都会把整页放在任何前线上,这样你就不会拯救任何带宽。 简便地处理每个县的问题。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签