「別ページに飛ぶ( Response.Redirect() )」の編集履歴(バックアップ)一覧はこちら
別ページに飛ぶ( Response.Redirect() ) - (2008/02/08 (金) 17:11:07) の1つ前との変更点
追加された行は緑色になります。
削除された行は赤色になります。
// 現在のページ名
*&this_page()
**概要
タイトルのまんま。
**前提条件
-[[新しいwebサイトの作成]]
**手順
default.aspx.vbを以下のように変更。
#highlight(vb.net){
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Response.Redirect("http://yahoo.co.jp")
End Sub
End Class
}
実行すると、ページが読み込まれてすぐ別URLへジャンプする。
&img(161.jpg)
// 現在のページ名
*&this_page()
**概要
タイトルのまんま。
**前提条件
-[[新しいwebサイトの作成]]
**手順
default.aspx.vbを以下のように変更。
#highlight(c#){
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Response.Redirect("http://yahoo.co.jp")
End Sub
End Class
}
実行すると、ページが読み込まれてすぐ別URLへジャンプする。
&img(161.jpg)
表示オプション
横に並べて表示:
変化行の前後のみ表示: