473,406 Members | 2,217 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,406 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 1070
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.