上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: 方法一:采用正则表达式获取地址栏参数:( 强烈推荐,既实用又方便!) function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.searc 阅读全文
posted @ 2018-04-13 08:46 天晴微笑 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 本文实例为大家分享了C#读取与写入txt文本文档数据的具体代码,供大家参考,具体内容如下 1.添加命名空间 System.IO; System.Text; 2.文件的读取 (1).使用FileStream类进行文件的读取,并将它转换成char数组,然后输出。 (2).使用StreamReader读取 阅读全文
posted @ 2018-04-12 14:21 天晴微笑 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 用JS动态改变地址栏内容 window.location.href window.location.hash 用window.location.hash 可以改变地址栏内容,而不用像改变wndow.location.href那样会提交。 改变hash后,地址栏后会加上#,,,,,这样子。这样可以解决 阅读全文
posted @ 2018-04-11 17:49 天晴微笑 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/gxwang/p/4883902.html 在做Web项目时,上传文件是经常会碰到的需求。ASP.Net的WebForm开发模式中,封装了FileUpload控件,可以方便的进行文件上传操作。但有时,你可能不希望使用ASP.Net中的服务器控件, 阅读全文
posted @ 2018-04-04 14:58 天晴微笑 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/xiaofengfeng/archive/2011/04/16/2018504.html DataGridView控件 DataGridView是用于Windows Froms 2.0的新网格控件。它可以取代先前版本中DataGrid控件,它易于使 阅读全文
posted @ 2018-03-14 14:24 天晴微笑 阅读(1042) 评论(0) 推荐(0) 编辑
摘要: 修改语句: update A set WZCount=ISNULL(WZCount,0)+(select SUM(WZCount) from T_PM_OutStock_SUB where MaterialID =A.MaterialID and _MainID='{_AutoID}') from 阅读全文
posted @ 2018-03-07 14:22 天晴微笑 阅读(5922) 评论(0) 推荐(0) 编辑
摘要: -- 表结构查询 SELECT 表名 = case when a.colorder=1 then d.name else '' end, 表说明 = case when a.colorder=1 then isnull(f.value,'') else '' end, 字段序号 = a.colorder, 字段名 ... 阅读全文
posted @ 2018-02-28 11:52 天晴微笑 阅读(370) 评论(0) 推荐(0) 编辑
摘要: use mastergo declare @flg int --返回0表示成功 否则表示失败declare @msg varchar(50) --显示成功或失败的消息declare @dbname varchar(20), @dbfilename1 varchar(100), @dbfilename 阅读全文
posted @ 2018-02-28 11:05 天晴微笑 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/kinger906/p/3431842.html 除了下文讲的方式外,还有一种方式:html里面使用ajax写好提交方式和提交参数,然后以写一行带有.aspx文件格式的语句跳转到后台(以.config文件为桥梁跳转,其中会指定后台处理程序在哪里) 阅读全文
posted @ 2018-02-26 15:20 天晴微笑 阅读(3724) 评论(0) 推荐(0) 编辑
摘要: 转自 http://blog.csdn.net/CDersTeam/article/details/51346911 gpedit.msc—–组策略 2. sndrec32——-录音机 3. Nslookup——-IP地址侦测器 ,是一个 监测网络中 DNS 服务器是否能正确实现域名解析的命令行工具 阅读全文
posted @ 2018-02-24 20:03 天晴微笑 阅读(514) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页