今天讲的重点关键点:
ASP.NET内置对象
1. Reponse对象
a) 对象概述
b) 常用的属性和方法
c) 在页面中输出数据
d) 页面跳转并传递参数
e) 输出二进制图像
2. Request对象
a) 对象概述
b) 常用的属性和方法
c) 获取页面间传递的数据
d) 获取客户端浏览器信息
a) 对象概述 -- HttpResponse类,封装来自 ASP.NET 操作的 HTTP 响应信息
b) 常用的属性和方法
Buffer
BufferOutput
Cookies
Output
OutputStream
Write
BinaryWrite
WriteFile
Flush
Clear
Close
End
Redirect
关键句子:
1.Response.Output.Write("{0}欢迎大家到来", "aa");//输出
2.this.Response.Redirect("http://www.baidu.com/s?wd="+str);//从百度搜索 str