会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
皮皮木有小JJ
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2015年7月14日
JS获取数组小技巧
摘要: 有如下数组 var infoArray = strTest.split(";"); var points2; for (var i = 0; i < infoArray.length; i++) { var info = infoArray[i]; points2 = info + "," + ...
阅读全文
posted @ 2015-07-14 11:31 皮皮木有小JJ
阅读(2044)
评论(0)
推荐(0)
2015年7月8日
c#数据类型转换
摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=cur...
阅读全文
posted @ 2015-07-08 12:31 皮皮木有小JJ
阅读(259)
评论(0)
推荐(0)
.net拆分字符串
摘要: 1、最简单最常用的方法,以一个指定的字符进行的分割 string s="abcdeabcdeabcde"; string[] sArray=s.Split('c'); foreach(string i in sArray) Console.WriteLine(i.ToString()); 输出下面的结果: ab deab ...
阅读全文
posted @ 2015-07-08 09:30 皮皮木有小JJ
阅读(462)
评论(0)
推荐(0)
2015年7月7日
c#的DateTime.Now函数详解
摘要: //2008年4月24日 System.DateTime.Now.ToString("D"); //2008-4-24 System.DateTime.Now.ToString("d"); //2008年4月24日 16:30:15 System.DateTime.Now.ToString("F"); //2008年4月24日 16:30 S...
阅读全文
posted @ 2015-07-07 09:53 皮皮木有小JJ
阅读(131)
评论(0)
推荐(0)
2015年7月5日
下载URL图片到本地
摘要: //下载照片 private static void DownFileByUrl(string url,string chatid,int time) { Stream reader = null; FileStream stream = null; try { WebRequest request = ...
阅读全文
posted @ 2015-07-05 09:29 皮皮木有小JJ
阅读(300)
评论(0)
推荐(0)
2015年6月20日
显示文件夹下所有图片
摘要: string[] strImage = Directory.GetFiles(Server.MapPath("~/userphoto/")); DataTable dt_image = new DataTable();dt_image.Columns.Add("images");foreach (string str in strImage){ string strUrl = "userph...
阅读全文
posted @ 2015-06-20 14:44 皮皮木有小JJ
阅读(327)
评论(0)
推荐(0)
2015年5月27日
Gridview使用Command获取当前行数
摘要: GridViewRow Row = (GridViewRow)((e.CommandSource as Button).NamingContainer);
阅读全文
posted @ 2015-05-27 13:29 皮皮木有小JJ
阅读(174)
评论(0)
推荐(0)
2015年5月18日
Gridview表格边框设置
摘要: GridView在生成HTML代码的时候会自动加上style="border-collapse:collapse;"以及border=1,rules="all"这些属性,这些在IE下都没什么影响,但是在FF下就会影响显示,style="border-collapse:collapse;";是由于设置了CellSpacing="0"产生的,当设置CellSpacing="1"后就没有,可以去掉sty...
阅读全文
posted @ 2015-05-18 15:22 皮皮木有小JJ
阅读(4752)
评论(0)
推荐(0)
2015年5月3日
Dropdownlist控件的事件处理
摘要: protected void bindhbdata(string chatid){ string sql = "select * from staff where wechatid='"+ chatid +"'"; SqlDataReader dr = SqlHelper.ExecuteReader(SqlHelper.mycon, CommandType.Text, sql);...
阅读全文
posted @ 2015-05-03 12:58 皮皮木有小JJ
阅读(275)
评论(0)
推荐(0)
2015年4月27日
Avaya命令集
摘要: lis ars a-查看号码规则 disp port 端口号码-查看端口信息 lis public trunk *-查看主叫 disp inc trunk *-查看被叫 stat trunk *-查看中继状态 mon trunk *-查看实时中继使用率
阅读全文
posted @ 2015-04-27 15:53 皮皮木有小JJ
阅读(313)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告