2013年9月16日

http://www.kankanews.com/ICkengine/archives/18078.shtml

摘要: https://github.com/lealife/WeiXin-Private-API 阅读全文

posted @ 2013-09-16 11:00 梦想的尾巴 阅读(411) 评论(0) 推荐(0) 编辑

2013年9月4日

jquery 添加列

摘要: {field:'action',title:'操作',width:70,align:'center',formatter:function(value,row,index){if(row.editing){vars='保存';varc='取消';returns+c;}else{vare='编辑';vard='删除';returne+d;}} 阅读全文

posted @ 2013-09-04 16:13 梦想的尾巴 阅读(221) 评论(0) 推荐(0) 编辑

2013年9月2日

MVC-各种传值方式

摘要: 示例一:ViewData传值.HomeController.cs Code:publicActionResult Index(){ ViewData["Title"] ="Home Page"; ViewData["Message"] ="Welcome to ASP.NET MVC!";returnView();}Views/Home/Index.aspx Code: 结果:在页面上显示Welcome to ASP.NET MVC!示例二:带参数传值.URL Routing规则:routes.MapRoute(& 阅读全文

posted @ 2013-09-02 16:31 梦想的尾巴 阅读(494) 评论(0) 推荐(0) 编辑

2013年8月27日

c# ArrayList 的排序问题!

摘要: 2009-01-19 20:10c# ArrayList 的排序问题!c# ArrayList 的排序问题!我看见网上有人用IComparer接口实现ArrayLIst 的排序问题 ,于是自己写了个小例子,编译已经通过,和大家一块分享。有不足之处,望不吝指正。1、建一个结构雇员的结构private struct Eployee{ public string name; public int age; public string sex; }2、新建3个"雇员"Eployee ep1=new Eployee(); ep1.name="小张"; ep1.ag 阅读全文

posted @ 2013-08-27 08:47 梦想的尾巴 阅读(464) 评论(0) 推荐(0) 编辑

2013年6月6日

用string.Join与List<T>或者与string数组转换为字符串

摘要: 直接贴代码了,有注释,代码已测试。将List<string> 转换为 字符串[csharp]view plaincopyprint?List<string>listStr=newList<string>();listStr.Add("a");listStr.Add("b");listStr.Add("c");//以下代码实现:将listStr转换为一串以‘,’分隔开的字符串并显示出来stringmyStr=string.Join(",",listStr.ToArray());Me 阅读全文

posted @ 2013-06-06 15:41 梦想的尾巴 阅读(158) 评论(0) 推荐(0) 编辑

2008年7月18日

设置css自适应窗口高度

摘要: 其实很简单! 自适应窗口高度 css自适应窗口高度 阅读全文

posted @ 2008-07-18 10:03 梦想的尾巴 阅读(594) 评论(0) 推荐(1) 编辑

导航