摘要: 在C#.net中如何操作XML需要添加的命名空间:usingSystem.Xml;定义几个公共对象:XmlDocumentxmldoc;XmlNodexmlnode;XmlElementxmlelem;1,创建到服务器同名目录下的xml文件:方法一:xmldoc=newXmlDocument();//加入XML的声明段落,<?xmlversion="1.0"encoding="gb2312"?>XmlDeclarationxmldecl;xmldecl=xmldoc.CreateXmlDeclaration("1.0",& 阅读全文
posted @ 2012-06-19 22:26 跟着阿笨一起玩.NET 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 本文转载:http://www.cnblogs.com/xuhaibiao/archive/2011/10/26/2225694.html首先建一个cn.cs文件,内容为:usingSystem;usingDevExpress.XtraEditors.Controls;usingDevExpress.XtraGrid.Localization;namespaceUI{publicclassChineseLocalizer:Localizer{publicoverridestringLanguage{get{return"Chinese";}}//overridingtheG 阅读全文
posted @ 2012-06-19 16:28 跟着阿笨一起玩.NET 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 举个例子,有一个列编辑器repositoryItemImageComboBox选择框,当选择了以后值是不会保存起来的(不会生效),只有当该GridCell失去焦点的时候,才会保存。原文解决方法在这里:http://www.devexpress.com/Support/Center/kb/p/A880.aspx手动在编辑控件中加一个事件EditValueChanged在事件函数中加一句如下: this.repositoryItemImageComboBox5.EditValueChanged+=newSystem.EventHandler(this.repositoryItemImageComb 阅读全文
posted @ 2012-06-19 16:20 跟着阿笨一起玩.NET 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 1、kindEditor:http://www.kindsoft.net/index 个人感觉是最好的。 实战中使用方法:http://www.cnblogs.com/shaoming01/archive/2012/02/03/winformhtmleditor.html2、ueditor:http://ueditor.baidu.com/website/index.html(百度的产品哦,也是不错的。只可惜上手好像不容易)3、自定义开发的编辑器:http://jishu.hao513.com/html/downloads/source_code/20101203030207.html(也是很 阅读全文
posted @ 2012-06-19 12:58 跟着阿笨一起玩.NET 阅读(402) 评论(0) 推荐(0) 编辑