Interviews English part

1 what 's the difference between Response.write() and Response.Output.write()?

The latter one allows you to write formatred cutput.

 

2 what method are fired during the page load?

Init() -when the page is instentiated.

Load()-when the page is loaded into server mermony.

PreRender()-the biref moment before the page is displayed to the user as html.

Unload()-when page finishes loading.

 

3.where does the web page belong int the .Net Framework class hierarchy?

 System.Web.UI.Page

 

4where do you store the infomation about the user's local?

System.Web.UI.Page.Culture

 

5what's the difference between code behind="MyCode.aspx.cs" and src="Mycode.aspx.cs"?

Code behind is relevant to visual studio .Net only

 

6what data type does the RengValidator control support?

Integer,String,Date

 

7Explain the difference between server-side and client-side code?

server-side code runs on the server

client-side code runs in the client's browser

 

8what type of code is found in a code-behind class?

server-side code

 

9should validation(did the user enter a real date) occur server-side or client-side?why?

client-side. this veduces an additional request to the server to validate the user input

 

10what does the enableviewstate property do?why would i want it on or off?

It enable the viewstate on the page

it allows the page to save the users input on a form

 

11what is difference between server.Transfer and response.redirect?why would i choose one over the other?

Server.Transfer is used to post a form to another page

Response.Redirect is used to redirect the used to another page or site

 

12

 

 

 

 

 

 

 

 

 

 

 

 

 

Suppose you want certarn asp.net function extented on MouseOver over

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值