Call C # .net aspx script from normal html

how can i make a POST form from a regular html file. and call the .net file that ends in .aspx what would my html file require?

0


a source to share


3 answers


<form method="Post" action="YourNETFile.aspx">
   ... other form elements
</form>

      



Then from your aspx code you can navigate to the form elements with: Request.Params ["FormElementName"]

+3


a source


something like a shape

<form action="location of aspx" method="Get|post">
   <input name="variable name" value="variable value" type="text|hidden|etc" />
</form>

      



for example: http://www.w3.org/TR/html401/interact/forms.html

0


a source


Just enter it as a action

form. All you need to remember is to make sure your fields are named with what CodeBehind expects.

Hooray!

ps It seems that the replies to submit are now a beat the clock game

0


a source







All Articles