Home > Net >  Consult!!!!!! About c # and asp.net
Consult!!!!!! About c # and asp.net

Time:09-18



From WebForm1. Aspx submit form form to ormWebForm2. Aspx, but WebForm2 always get less than the value, please help to see the code in the 2 is wrong

CodePudding user response:

And so on picture is wrong, sorry!

CodePudding user response:

Ok, have a big help to have a look! For a long time

CodePudding user response:

Getelementbyid can only take this page below, not across the page, you have $ajax. Post submission

CodePudding user response:

From WebForm1. Aspx submit form form to ormWebForm2. Aspx???????? !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Without this kind of practice, WebForm1. Aspx submitted is WebForm1. Aspx, and WebForm2. What is the relationship between aspx???????

CodePudding user response:

You so WebForm2. Aspx front must get less than, and its own page haven't the HTML element, obtain a ghost ghost, you need to WebForm2. Aspx code defines a variable, such as public string t1=string. The Empty; And t1=Request Form (" t1 "); Then the front-end var a="& lt; % %=t1 & gt; 'have value, but you have logged in, are generally not submit their this page, verify success had to jump to the main page

CodePudding user response:

The
big watermelon a WuYiJin reference 5 floor? Response:
you so WebForm2. Aspx front-end certainly can't get, and it didn't this HTML page elements, obtaining a ghost ghost, you need to WebForm2. Aspx code defines a variable, such as public string t1=string. The Empty; And t1=Request Form (" t1 "); Then the front-end var a="& lt; % %=t1 & gt; 'have value, but you have logged in, are generally not submit their this page, verify success had to jump to the main page

Just don't know much about the contact, I now to the backend authentication, but get less than the value of the form is I write a problem with the format of the

CodePudding user response:

The
reference 7 floor kkkwyl response:
Quote: big watermelon a WuYiJin reference 5 floor? Response:

You so WebForm2. Aspx front must get less than, and its own page haven't the HTML element, obtain a ghost ghost, you need to WebForm2. Aspx code defines a variable, such as public string t1=string. The Empty; And t1=Request Form (" t1 "); Then the front-end var a="& lt; % %=t1 & gt; 'have value, but you have logged in, are generally not submit their this page, verify success had to jump to the main page

Just don't know much about the contact, I now to the backend authentication, but get less than the value of the form is I write a problem with the format of the

Your browser debugging according to F12, have a look at your HTML name="tt1", is to get less than without the word of the name value, you own on the element with name="tt1."

CodePudding user response:

The
big watermelon a WuYiJin reference 8 floor? Response:
Quote: refer to 7th floor kkkwyl response:

The
Quote: big watermelon a WuYiJin reference 5 floor? Response:

You so WebForm2. Aspx front must get less than, and its own page haven't the HTML element, obtain a ghost ghost, you need to WebForm2. Aspx code defines a variable, such as public string t1=string. The Empty; And t1=Request Form (" t1 "); Then the front-end var a="& lt; % %=t1 & gt; 'have value, but you have logged in, are generally not submit their this page, verify success had to jump to the main page

Just don't know much about the contact, I now to the backend authentication, but get less than the value of the form is I write a problem with the format of the

Your browser debugging according to F12, have a look at your HTML name="tt1", is to get less than without the word of the name value, you own on the element with name="tt1"

I have add the name

CodePudding user response:

Well, you get that is submitted to come over to the inside of the form of the name, so you want to two page, A page by value, B page value is not?
And you it is a B page, because a page is divided into front-end HTML, and back-end cs, this is only one page,


You need to do is click on the button page B page, at the same time send A value to page B, then page B, can receive

CodePudding user response:

We do this kind of demand in details or edit, often needs to be used when
Or the location. The href='https://bbs.csdn.net/topics/B page? Id=1 ';
This can use parameter form to obtain, requestquerystring [id] is probably like this,


There is now WebForm with very few, in addition to the old system maintenance, you can get started now do know, MVC is sure to see it

CodePudding user response:

Can only get the value for other pages or use ajax, or 1 page to set the static field and copy, 2 page access he is ok

CodePudding user response:

Should now nobody use WebForm, borrow the floor the way, what now everyone made website? For many years not technology

CodePudding user response:

Webform also do?

Start with ASP.NET directly the Core Blazor framework, like app page development, finally, need, you can add a webapi for front-end data

CodePudding user response:

references 9 f kkkwyl response:
Quote: big watermelon a WuYiJin reference 8 floor? Response:

Quote: refer to 7th floor kkkwyl response:

The
Quote: big watermelon a WuYiJin reference 5 floor? Response:

You so WebForm2. Aspx front must get less than, and its own page haven't the HTML element, obtain a ghost ghost, you need to WebForm2. Aspx code defines a variable, such as public string t1=string. The Empty; And t1=Request Form (" t1 "); Then the front-end var a="& lt; % %=t1 & gt; 'have value, but you have logged in, are generally not submit their this page, verify success had to jump to the main page

Just don't know much about the contact, I now to the backend authentication, but get less than the value of the form is I write a problem with the format of the

nullnullnullnullnullnullnullnullnullnullnullnull
  • Related