Home > front end >  How to gain the value of the text box in the aspx and shown in another aspx
How to gain the value of the text box in the aspx and shown in another aspx

Time:09-18

Figure 1 is to get input content
In the second td is shown in figure 2 is the need to the first figure in the content of the input text box
The great spirit guide genuflect is begged had better have the source code

CodePudding user response:

A.a SPX:
Private void Button1_Click (object sender, System. EventArgs e)
{
String s_url;
S_url="b.a SPX? Name="+ Label1. Text;
The Response. Redirect (s_url);
}

B.a SPX

The second td: & lt; td>

Private void Page_Load (object sender, EventArgs e)
{
LitText. Text=Request. The QueryString (" name "),
}


CodePudding user response:

reference 1/f, xiaoxiang dream response:
a.a SPX:
Private void Button1_Click (object sender, System. EventArgs e)
{
String s_url;
S_url="b.a SPX? Name="+ Label1. Text;
The Response. Redirect (s_url);
}

B.a SPX

The second td: & lt; td>

Private void Page_Load (object sender, EventArgs e)
{
LitText. Text=Request. The QueryString (" name "),
}
under the great spirit is a small white I ask how the input box input values to select * from table like fuzzy query
  •  Tags:  
  • ASP
  • Related