@{ Layout = "~/_SiteLayout.cshtml"; Page.Title = "註冊確認頁"; string message = ""; var confirmationToken = Request["confirmationCode"]; WebSecurity.Logout(); if (!confirmationToken.IsEmpty()) { if (WebSecurity.ConfirmAccount(confirmationToken)) { message = "註冊已確認! 請按一下 [登入] 索引標籤登入網站。"; } else { message = "無法確認您的註冊資訊。"; } } }

@Page.Title.

使用下面的表單確認您的帳戶。

@if (!message.IsEmpty()) {

@message

} else {
確認碼
}