趁發現新大陸,趕緊記下吧。
System.Web.Configuration.AuthenticationSection configSection = (System.Web.Configuration.AuthenticationSection)System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection("system.web/authentication"); TextBox2.Text = configSection.Mode.ToString();
沒有留言:
張貼留言