摘要: 主要属性: Font Properties Font Family Font Style Font Variant Font Weight Font Size Font Color and Background Properties Color Background Color Background 阅读全文
posted @ 2012-05-19 17:28 Yu 阅读(138) 评论(0) 推荐(0) 编辑
摘要: PatternImageInBody = @"<img\s*src=""(\.\.)?/files/images/\d+/({#filename})""\s*/>";for (int i = 0; i < imagesInBody.Count; i++) { string pattern = patternImageInBody.Replace("{#filename}", Regex.Escape(Path.GetFileName(imagesInBody[i]).ToLower())); if 阅读全文
posted @ 2012-05-19 17:12 Yu 阅读(1184) 评论(0) 推荐(0) 编辑
摘要: LINQ TO XML client xxxx@xxx.com xxxx@xxx.com client xxxxx@xxx.com xxxxx@xxx.com string path = Path.Combine(serverMap, "Config\\EmailAccount.xml"); XDocument xdoc = XDocument.Parse(File.ReadAllText(path)); var account = from c in xdoc.Descendants("account").Descendants("type& 阅读全文
posted @ 2012-05-19 17:02 Yu 阅读(380) 评论(0) 推荐(0) 编辑
摘要: @using (Html.BeginForm("ForEmail", "CSOT", FormMethod.Post)){ CSOT Email @Html.TextAreaFor(m => m.Bodies, new { @class = "ckeditor" }) }========================自定义工具条,在ckeditor目录下打开 config.js:默认CKEDITOR.editorConfig = function( config ){// Define changes to default c 阅读全文
posted @ 2012-05-19 16:43 Yu 阅读(464) 评论(0) 推荐(0) 编辑