About pageLoad and ispostback
Kgc
Kgc 2018-01-07 22:43:58
0
1
1870

7. The program code window of an aspx page has the following program. Please read the program and answer the following questions:

1> When will the Load event of the Page object be triggered?

2>. When the page is loaded for the first time, what is the value of the IsPostBack property of the Page object? What will appear on the page?

3>. When the page is loaded again in response to a client postback, what is the value of the IsPostBack property of the Page object? What will appear on the page?

protected void Page_Load(object sender, EventArgs e)

{

if( ! Page.IsPostBack ){

Response.Write("Text1" ; ##

Kgc
Kgc

reply all(1)
phpcn_u98807

1. It will be triggered every time the page is called;

2.false, Text;

3.true, Text2;

The poster mentioned it a long time ago, I plan to learn php now

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!