摘要: KeyValuePair<T,V>如果使用的是C#3.0可以直接使用var进行遍历。Dictionary<string, object> ds = new Dictionary<string, object>(); foreach (KeyValuePair<string ,object> item in ds) { ...... } 阅读全文
posted @ 2011-05-05 13:21 Byrd 阅读(450) 评论(0) 推荐(0)
摘要: 第一种方式:用<![CDATA[]]<templates><template> <![CDATA[<html><head>$title</head><body>$content<body></html>]]></template> </templates>第二种方式:用xsl<table id ="tblContent" class="xl_ys" style="width:100%; z-index: 阅读全文
posted @ 2011-05-05 10:05 Byrd 阅读(2232) 评论(0) 推荐(0)