闵行哪家医院人流好点:请问在ASP.NET中Page.IsPostBack和IsPostBack有区别吗?
来源:百度文库 编辑:查人人中国名人网 时间:2024/04/28 06:55:45
请问我的服务端代码写成
If Not Page.IsPostBack Then
....
....
End If
和写成
If Not IsPostBack Then
....
....
End If
有什么区别吗?
If Not Page.IsPostBack Then
....
....
End If
和写成
If Not IsPostBack Then
....
....
End If
有什么区别吗?
是一样的.可以省略page对象名.
也可以写成
if ispostback = false then
end if
或
if page.ispostback = false then
end if