我想更改我的网站模板 [英] I want to change the template of my website

查看:72
本文介绍了我想更改我的网站模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)我使用Visual Studio 2008创建了一个网站。我在我的网站上使用了一个模板。我也有一个母版页面。现在我想更改我的网站模板。但我不想对我的网站的工作做任何改变。如果我只更改母版页并添加新模板,它是否有效???



2)我使用Crystal Reports创建了结果页面。我想要一个查询从我的Crystal报表上的Access数据库生成数据。

1) I have made a website using Visual Studio 2008. I have used a template in my website. I also have a Master page. Now i want to change the template of my website. But i don''t want to make any changes to the working of my website. If i only change the master page & add a new template, will it work???

2) I have created the result page using Crystal Reports. I want a query to generate the data from my Access database on my Crystal report.

推荐答案

web.config文件中有一个属性用于配置样式表主题你的网站总数。



这是一个例子。你可以试试这个。这可能是解决你第一个问题的方法。



There is a property in the web.config file for configuring the style sheet theme of your total website.

Here is a sample. You can try this.It may be a way to solve your first problem.

<system.web>
    <pages styleSheetTheme="Default" enableEventValidation="false" controlRenderingCompatibilityVersion="4.0" clientIDMode="Predictable"/></system.web>





谢谢&快乐编码。



Thanks & Happy Coding.


这篇关于我想更改我的网站模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆