摘要: set identity_insert [库名].[dbo].[表名] on-----关闭增长SQL语句(Insert into)set identity_insert [库名].[dbo].[表名] off----开启增长 阅读全文
posted @ 2011-11-21 21:36 Silence-01 阅读(154) 评论(0) 推荐(0) 编辑
摘要: begin transactionSQL语句commit transaction 阅读全文
posted @ 2011-09-11 00:19 Silence-01 阅读(151) 评论(0) 推荐(0) 编辑
摘要: $("标签名") //取html元素 document.getElementsByTagName("")$("#ID") //取单个控件document.getElementById("")$("div #ID") //取某个控件中 控件$("#ID #ID") // 通过控件ID取其中的控件$("标签.class样式名") //通过class来取控件$("#ID").val(); //取value值$("#ID") 阅读全文
posted @ 2011-07-27 11:23 Silence-01 阅读(182) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML><html><head> <title>inputSuggest输入字符时提示</title> <style type="text/css"> body { margin: 0; padding: 0; } input { width: 200px; } .suggest-container { border: 1px solid #33BDED; visibility: hidden; background: #FFFFFF; } .suggest-item { padd 阅读全文
posted @ 2011-07-23 09:08 Silence-01 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 调试快捷键 F6: 生成解决方案 Ctrl+F6: 生成当前项目 F7: 查看代码 Shift+F7: 查看窗体设计器 F5: 启动调试 Ctrl+F5: 开始执行(不调试) Shift+F5: 停止调试 Ctrl+Shift+F5: 重启调试 F9: 切换断点 Ctrl+F9: 启用/停止断点 Ctrl+Shift+F9: 删除全部断点 F10: 逐过程 Ctrl+F10: 运行到光标处 F11: 逐语句 编辑快捷键 Shift+Alt+Enter: 切换全屏编辑 Ctrl+B,T / Ctrl+K,K: 切换书签开关 Ctrl+B,N / Ctrl+K,N: 移动到下一书签 Ctrl+B, 阅读全文
posted @ 2011-07-20 20:09 Silence-01 阅读(198) 评论(0) 推荐(0) 编辑
摘要: using System;using System.IO;using System.Security.Cryptography;using System.Text; /// <summary> /// SymmetricMethod 的摘要说明。 /// 对称算法加密类,提供系统默认密钥,与用户密码两种方式 /// </summary>public class SymmetricMethod{ #region DES加密、解密 private static TripleDES mydes = new TripleDESCryptoServiceProvider(); p 阅读全文
posted @ 2011-07-09 09:46 Silence-01 阅读(223) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function () { document.onkeydown = kp; function kp(e) { e = window.event || e; var obj = e.target || e.srcElement; //获取事件源 var k = e.keyCode || e.which; //获取作为判断条件的事件类型 var vReadOnly = obj.getAttribute('readonly'); var vEnabled = obj.getAttribute('enabled'); if (k = 阅读全文
posted @ 2011-07-08 15:43 Silence-01 阅读(374) 评论(0) 推荐(0) 编辑
摘要: VS2005启动调试的时候变成了不调试启动,开始还以为是装VS2005出的错,最后从网上才确认原来是IE8惹的祸,修改注册表:HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main增加dword键TabProcGrowth,值为0就搞定了! 阅读全文
posted @ 2011-07-08 14:10 Silence-01 阅读(121) 评论(0) 推荐(0) 编辑
摘要: window.open(document.location,'窗体名称','fullscreen');//这句打开并去掉所有栏 阅读全文
posted @ 2011-06-25 23:02 Silence-01 阅读(252) 评论(0) 推荐(0) 编辑
摘要: <form id="form1" runat="server"> <a onclick="javascript:changefs('16');" style="cursor: pointer">大</a> <a onclick="javascript:changefs('14');" style="cursor: pointer">中</a> <a onclick="j 阅读全文
posted @ 2011-06-17 09:47 Silence-01 阅读(2649) 评论(0) 推荐(1) 编辑