Tutorials to .com

Tutorials to .com » Dotnet » Foundation » Asp.Net using the POST method the easiest to achieve

Asp.Net using the POST method the easiest to achieve

Print View , by: iSee ,Total views: 18 ,Word Count: 171 ,Date: Wed, 26 Aug 2009 Time: 4:00 AM

Asp.Net 2.0 implements the IButtonControl interface control has a PostBackUrl property, you can cross-page submission, is to use the POST method. 1.x then took a series of setbacks in the POST submission is very simple, as long as PostBackUrl set for the submission page, in that submission page using Request.Params [] will be able to get the parameters of the POST form. Also used to fetch the previous page PreviousPage.FindControl control. Here with the Request and the PreviousPage to the values of both, and Server.Transfer is like, but CrossPagePostBack across the site.

Here is an example, there is also on localization tests.
PS, do not know if there any comrades encountered a similar situation: / App_GlobalResources under the resource file will throw an error if there is Resource.zh.resx. . My VS is Chinese, it is estimated he was the default resource file is Resource.zh.resx bar.


.NET foundation Articles


Can't Find What You're Looking For?


Rating: Not yet rated

Comments

No comments posted.