05 2013 档案

摘要:1.添加UrlRewriter.dll引用2.修改Web.config<configSections>节点下添加<section name="ReplaceUrl" type="URLRewriter.Config.UrlsSection, URLRewriter"/>根节点下添加 <ReplaceUrl> <urls> <add virtualUrl="~/about.html" destinationUrl="~/about.aspx"/> <a 阅读全文
posted @ 2013-05-24 17:49 Xyang 阅读(326) 评论(0) 推荐(0) 编辑
摘要:1.准备模板newsItem.html<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title></head><body> <h1>$Porschev[0]$</h1> <p& 阅读全文
posted @ 2013-05-24 15:45 Xyang 阅读(914) 评论(0) 推荐(1) 编辑
摘要:一直以为各浏览器空格宽度的差异是因为各浏览器对标签的解释有差异造成的。其实是由于各浏览器的默认字体不同造成的,若是不知道字体的话,在不同浏览器下空格空出来的宽度是不一样的。 阅读全文
posted @ 2013-05-16 12:24 Xyang 阅读(152) 评论(0) 推荐(0) 编辑
摘要:1.准备XmlHelper工具类using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml.Serialization;using System.IO;using System.Xml;namespace QDDAL{ public static class XmlHelper { private static void XmlSerializeInternal(Stream stream, object o, Encoding e... 阅读全文
posted @ 2013-05-07 14:19 Xyang 阅读(397) 评论(0) 推荐(0) 编辑

hi