假如要修改FormView1中的testTextBox的值
GeSHi Error: GeSHi could not find the language lang (using path /Library/WebServer/adminweb/blog/wp-content/plugins/codecolorer/lib/geshi/) (code 2)
這樣即可,不能用一般的方式是因為在FormView模式下
Archive for
...
假如要修改FormView1中的testTextBox的值
這樣即可,不能用一般的方式是因為在FormView模式下

手機照的,有點鳥,請見諒。
最近開始學習用ASP.NET的網頁,以往php可以自己寫一個函式來判斷使用者是否為登入狀態,而現在ASP.NET如過用提供的登入工具的話,可以用以下方法來確認使用者是否登入過。
1 2 3 4 5 6 7 8 | if(User.Identity.IsAuthenticated) { Response.Write("您已經登入。"); } else { Response.Write("尚未登入。"); } |