会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sulin
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
20
下一页
2014年12月13日
Mysql 找回密码
摘要: 1,找到安装mysql的位置 输入cmd:进入mysql bin安装目录 如:D:\Program Files\MySQL\MySQL Server 5.5\bin>mysqld --skip-grant-tables 执行如上命令:这个cmd窗口就暂时不动2.重新打开一个新的命令窗体 输入cmd进...
阅读全文
posted @ 2014-12-13 22:58 sulin
阅读(169)
评论(0)
推荐(0)
2014年12月8日
对比Model前后数据保存不同值
摘要: 1.示例代码 public class SysLogBLL : BLLBase where T : new() { #region 比较方法 /// /// 复制对象到指定对象中 只复制名称一样的 /// /...
阅读全文
posted @ 2014-12-08 15:26 sulin
阅读(250)
评论(0)
推荐(0)
2014年12月2日
图片上传 并生成水印
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace MySystemManager.Utility 7 { 8 ...
阅读全文
posted @ 2014-12-02 21:11 sulin
阅读(228)
评论(0)
推荐(0)
2014年11月3日
Js Array 删除
摘要: 数组删除操作Array.prototype.inArray = function (e) {for (i = 0; i -1) {this.splice(index, 1);}};示例:var arry_test=[] ;for(var i=0;i<6;i++){ arry_test.push(i...
阅读全文
posted @ 2014-11-03 14:12 sulin
阅读(250)
评论(0)
推荐(0)
2014年10月17日
语音播报功能
摘要: 1.采用 System.Speech.Synthesis 实现 1.1 控制面板必须有语音合成1.2 using System.Speech.Synthesis ;//包含初始化和配置的语音合成引擎选件类,为响应事件并输入修改的语音属性创建用于生成语音提示 1.3 调用 SpeechSynthesi...
阅读全文
posted @ 2014-10-17 15:21 sulin
阅读(856)
评论(0)
推荐(0)
2014年5月16日
js实现HashTable
摘要: 1.哈希表使用键值对进行的数据储存,在数据的存储位置和它的关键字之间建立一一对应的关系,从而使关键字和结构中的一个唯一的存储位置相对应,所以在检索数据时只需要根据这个关系便可以快速定位到要找的数据。 function HashTable(){ this._hash={}; this._c...
阅读全文
posted @ 2014-05-16 10:17 sulin
阅读(842)
评论(0)
推荐(0)
Js 克隆
摘要: 1.浅表克隆 调用concate() 或者slice() 方法,可以创建数组的浅表副本,在浅表副本中,如果原始数组的元素是复杂数据类型,则元素值指向对象的引用而非对象本身, 与原始数组一样,浅表副本的元素值也是指向对象引用,对对象所做的任何更改都会在两个数组中反映出来。2.深度克隆深度克隆是相对于浅...
阅读全文
posted @ 2014-05-16 09:45 sulin
阅读(269)
评论(0)
推荐(0)
2014年4月26日
获取电脑名和IP地址
摘要: private string GetHostNameAndIP( bool isv4Orv6) { string HostName = Dns.GetHostName();//本机名 string IPAddress = ""; System.Net.IPAddress[] addressList...
阅读全文
posted @ 2014-04-26 15:35 sulin
阅读(257)
评论(0)
推荐(0)
获取电脑名和Ip
摘要: private string GetHostNameAndIP( bool isv4Orv6) { string HostName = Dns.GetHostName();//本机名 string IPAddress = ""; System.Net.IPAddress[] addressList...
阅读全文
posted @ 2014-04-26 15:34 sulin
阅读(186)
评论(0)
推荐(0)
IIS 配置问题
摘要: 1 IIS错误需要重新运行配置 重新注册.netframework。解决方式:cmd C:\Windows\Microsoft.NET\Framework\v4.0.30319aspnet_regiis.exe -i2. CS0016: 未能写入输出文件“c:\Windows\Microsoft.N...
阅读全文
posted @ 2014-04-26 15:28 sulin
阅读(152)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
20
下一页
公告