- 博客(8)
- 资源 (11)
- 收藏
- 关注
转载 基于TI的CC2541 Sensor Tag设备,在Windows 8.1上接收蓝牙设备的广播数据案例参考
基于TI的CC2541 Sensor Tag设备,在Windows 8.1上接收蓝牙设备的广播数据案例参考网址如下:https://www.cnblogs.com/dearsj001/p/BLE4Windows.html留作自己学习记录使用。...
2019-06-18 10:05:15
373
原创 ASP.NET直接将HTML内容导出为Word文档
一、后台代码部分: /// <summary> /// 导出word /// </summary> public void ExpertWord(string filename,string body_text) { ReadWriteConfig config = n...
2018-11-28 16:49:02
2981
原创 ASP.NET防止SqlMap注入示例
第一步:在Web.config中配置<appSettings> <add key="safeParameters" value="OrderID-int32,CustomerEmail-email,ShippingZipcode-USzip" /></appSettings> 第二步:在Global.asaxz中添加protected vo...
2018-11-23 16:59:02
1382
1
原创 JavaScript中的变量内容转换为变量示例
var str_demo = "var input_str = 'Hello'; ";eval(str_demo);alert(input_str); 输出内容为: Hello
2018-11-16 11:01:39
241
原创 ASP.NET使用文件流的方式下载文件
//以字符流的形式下载文件 string filePath = "D://dome.doc"; FileStream fs = new FileStream(filePath , FileMode.Open); byte[] bytes = new byte[(int)f...
2018-11-16 10:49:59
3315
原创 ASP.NET开发过程中遇到GET请求中文参数乱码问题的解决办法
直接上程序片码页面请求部分 (使用 encodeURI方法转换中文请求内容 ) :var URL = "http://localhost:8080/index.aspx?keyword=" + encodeURI($("#_keyword").val());后台接收部分(使用HttpUtility.UrlDecode方法进行解析中文请求内容即可):string keyword= S...
2018-07-18 17:55:00
1465
原创 JS添加监听对象,使编辑控件只能录入不能粘贴
监听的控件对象.addListener('beforepaste', myEditor_paste); function myEditor_paste(o, html) { html.html = ""; alert("只能录入不能粘贴"); }...
2018-07-12 08:16:15
908
原创 JS中如何查看object对象内容
假设_obj是需要查看的对象(object对象),那么...var property = ""; for (var item in _obj) { property += "属性:" + item + "数值:" + _obj[item] + "\n";}alert(property);...
2018-05-10 14:48:20
14250
1
IText.Pdf-CheckPdf的签章-参考Demo.rar
2020-08-31
SQLMAP安装工具(SQLMAP+Python2.7.15)
2018-11-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人