您现在的位置是:首页 >

古筝入门教程视频教程 ASP.NET入门教程 5.1.4 设置站点级别的样式[2]

火烧 2021-08-23 07:37:55 1072
ASP.NET入门教程 5.1.4 设置站点级别的样式[2] 试一试 ( )右击Cha ter 文件夹并选择Add New Item 在弹出的对话框中 创建一个新的We 配置文件(We co fig)

ASP.NET入门教程 5.1.4 设置站点级别的样式[2]  

古筝入门教程视频教程 ASP.NET入门教程 5.1.4 设置站点级别的样式[2]

    试一试

    ( )右击Chapter 文件夹并选择Add New Item 在弹出的对话框中 创建一个新的Web配置文件(Web config)并单击OK     ( )将下面的代码(灰色部分)添加到Web config文件中并保存该文件

 

<?xml version= ?>

<!

    Note: As an alternative to hand editing this file you can use the

    web admin tool to configure settings for your application Use

    the Website >Asp Net Configuration option in Visual Studio

    A full list of settings and ments can be found in

    machine config ments usually located in

    WindowsMicrosoft NetFrameworkv xConfig

>

<configuration>

         <appSettings/>

         <connectionStrings/>

         <system web>

                   <pages theme= red styleSheetTheme= blue />

 

    ( )删除所有页面中的Theme属性和Stylesheet属性并运行该应用程序 站点中的所有页面都将应用Red主题 但请注意图 中显示的ThemeDefault页面

lishixinzhi/Article/program/net/201311/15191  
永远跟党走
  • 如果你觉得本站很棒,可以通过扫码支付打赏哦!

    • 微信收款码
    • 支付宝收款码