473,385 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ASP to ASP.NET conversion question

Hi,

What is the .NET equivalent of the following classic ASP please

<form id="Form1" method="post" action="http://www.domain.com">
<INPUT name="ThisGetsPostedToDomainAbove">
<INPUT id="MyButton" type="submit" value="Click here">
</form>

In the above example, this non server side form will post the
information contained in the input field named
ThisGetsPostedToDomainAbove when the button called MyButton is
clicked.

Thanks.
Nov 18 '05 #1
2 1067
Jos
"Framework fan" <te**************@hotmail.com> wrote in message
news:f1**************************@posting.google.c om...
Hi,

What is the .NET equivalent of the following classic ASP please

<form id="Form1" method="post" action="http://www.domain.com">
<INPUT name="ThisGetsPostedToDomainAbove">
<INPUT id="MyButton" type="submit" value="Click here">
</form>

In the above example, this non server side form will post the
information contained in the input field named
ThisGetsPostedToDomainAbove when the button called MyButton is
clicked.


Since your form is not ASP-specific (it contains no code), you can
use exactly the same form in ASP.NET.

However, the page that handles your input (at www.domain.com) will differ.

--

Jos
Nov 18 '05 #2
Hi Jos,
However, the page that handles your input (at www.domain.com) will differ.

I have no control over the page at www.domain.com.

Please could you suggest an alternative, as I can't change what is at domain.com

Many thanks.
"Jos" <jo***************@fastmail.fm> wrote in message news:<el*************@tk2msftngp13.phx.gbl>... "Framework fan" <te**************@hotmail.com> wrote in message
news:f1**************************@posting.google.c om...
Hi,

What is the .NET equivalent of the following classic ASP please

<form id="Form1" method="post" action="http://www.domain.com">
<INPUT name="ThisGetsPostedToDomainAbove">
<INPUT id="MyButton" type="submit" value="Click here">
</form>

In the above example, this non server side form will post the
information contained in the input field named
ThisGetsPostedToDomainAbove when the button called MyButton is
clicked.


Since your form is not ASP-specific (it contains no code), you can
use exactly the same form in ASP.NET.

However, the page that handles your input (at www.domain.com) will differ.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

26
by: David W. Fenton | last post by:
A client is panicking about their large Access application, which has been running smoothly with 100s of thousands of records for quite some time. They have a big project in the next year that will...
31
by: Bjørn Augestad | last post by:
Below is a program which converts a double to an integer in two different ways, giving me two different values for the int. The basic expression is 1.0 / (1.0 * 365.0) which should be 365, but one...
4
by: Nikhil Patel | last post by:
Hi all, I am a VB6 programmer and learning C#. I am currently reading a chapter on types. I have question regarding enums. Why do we need to convert enum members to the value that they represent?...
2
by: Alex Sedow | last post by:
Why explicit conversion from SomeType* to IntPtr is not ambiguous (according to standart)? Example: // System.IntPtr class IntPtr { public static explicit System.IntPtr (int); public...
21
by: REH | last post by:
It it permissible to use the constructor style cast with primitives such as "unsigned long"? One of my compilers accepts this syntax, the other does not. The failing one chokes on the fact that the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.