摘要: 输入的字符串:Provider=ASEOLEDB.1;Initial Catalog=big;User ID=sa;Persist Security Info=False;Server Name=192.168.2.168:5000;Character Set=cp850 private string SplitCharset(string s, string charset) { Regex rSplit = new Regex(";"); Regex r = new Regex(s); Match m = r.... 阅读全文
posted @ 2013-11-01 15:55 温馨小巫 阅读(6992) 评论(0) 推荐(0) 编辑
摘要: 后台代码:namespace HtmlControlFactory{ public partial class _Default : Page { //定义全局变量将值传到前台,在Page_Load前定义 public string aaa = "aaaaaaa"; public void Page_Load(object sender, EventArgs e) { }}}前台: 阅读全文
posted @ 2013-10-21 17:01 温馨小巫 阅读(238) 评论(0) 推荐(0) 编辑
摘要: C# List用法所属命名空间:using System.Collections.Generic;List类是ArrayList 类的泛型等效类。 该类使用大小可按需动态增加的数组实现IList 泛型接口。泛型的好处: 它为使用 c#语言编写面向对象程序增加了极大的效力和灵活性。不会强行对值类型进行装箱和拆箱,或对引用类型进行向下强制类型转换,所以性能得到提高。一、List的基础、常用方法:1、List mList = new List();a.T为列表中元素类型,现在以string类型作为例子如:List mList = new List();b.增加元素:List. Add(T item) 阅读全文
posted @ 2013-10-21 14:39 温馨小巫 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 当前选中的行: 当前选中的行: Js代码 复制代码 收藏代码 一、TreeGrid组件相关的类 1、TreeGrid(_config) _config:json格式的数据,组件所需要的数据都通过该参数提供。2、TreeGridItem(_root, _rowId, _rowIndex, _rowData) _root:显示组件实例的目标容器对象。 _rowId:选中行的id。 _rowIndex:选中行的索引。 _rowData:json格式的行数据。二、_config参数详解 id:组件实例的id。 width:组件实例的宽度。 renderTo:用于显示组件实例... 阅读全文
posted @ 2013-10-18 14:23 温馨小巫 阅读(794) 评论(0) 推荐(0) 编辑
摘要: http://www.fenby.com/learn/courses制作图表网站http://juntiansoft.com/fusioncharts-wiki/index.php?title=%E9%A6%96%E9%A1%B5UI控件http://jqueryui.com/MVC样式file:/... 阅读全文
posted @ 2013-09-29 08:14 温馨小巫 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 2013-08-10,习惯了用这种方式记录着时间,可能继续习惯下去,也可能就此终止了。程序员的路漫长无边,既让人兴奋,又偶尔感觉无奈。有成功的自豪感,有失落的挫败感。而此时的我,正在迷茫徘徊的边缘,不知什么时候做了什么样的决定,似乎关系着以后生活的决定。代码,你给我到底带来了什么???。。。。 阅读全文
posted @ 2013-08-10 15:53 温馨小巫 阅读(117) 评论(0) 推荐(0) 编辑