- 博客(9)
- 资源 (10)
- 收藏
- 关注
转载 使用新浪API生成短连接
公司最近需要进行短信推广,需要发送大批量带有连接地址的短信给用户,并且需要统计短信的点击量。因为需要考虑短信成本问题,需要将长连接地址生成比较短的连接。因为公司本身没有短的一级域名,所以考虑到使用第三方的短连接生成器。经过对比选择了新浪短连接生成器。新浪接口文档地址: http://open.weibo.com/wiki/Short_url/shorten新浪提供了xml和
2018-03-02 13:15:57
1521
原创 ajaxfileuploady移动端兼容问题
1.ie版本升级ajaxfileupload代码不兼容,解决方案,修改ajaxfileupload代码把代码if(window.ActiveXObject) { var io = document.createElement(''); if(typeof uri== 'boolean'){ io.src = 'javascrip
2017-11-15 15:56:35
924
原创 TimeOut Expired 数据链接超过最大链接数
参考数据库链接串:"data" value="server=192.168.1.123; Port=3306; uid=root; pwd=root;database=data;pooling=true;min pool size=5;max pool size=512;connect timeout = 20; "/> 查看应用程序池占用数量:select *
2017-11-14 11:09:29
669
转载 解决请求筛选模块被配置为拒绝包含的查询字符串过长的请求
今天再次遇到了标题上的问题。因为之前遇到过该问题,所以开始没有想太多,直接上网查资料,然后就是一翻拷贝方案1: 在程序的web.config 中system.web 节点 里面插入 代码。再次运行,失败方案2:对IIS 中的applicationHost.config 配置文件进行配置。再次运行,失败方案3:在程序的web.config 中sconfiguration
2017-09-11 08:37:41
10097
1
转载 SQL列转字段
行列转换,将列数据转换为字符串输出DECLARE @center_JZHW VARCHAR(500)SET @center_JZHW = ( SELECT DISTINCT STUFF( ( SELECT ',' + ce_code FROM ap_center WITH ( NOLOCK ) WHERE CE_PROVINCE = '浙江省' OR
2017-09-05 09:23:43
1075
原创 MVC中重复上传文件的问题
file = $("#files"); file.after(file.clone().val(null)); $("#files").remove();
2017-08-23 14:57:50
521
转载 dataview.totable
原来DataTable的Distinct竟如此简单!有时我们需要从DataTable中抽取Distinct数据,以前总是以对DataTable进行foreach之类纯手工方式获取。近来发现DataView可以帮我们直接获取Distinct数据,汗一个!DataTable dataTable;DataView dataView = dataTable.DefaultV
2017-08-21 14:02:29
659
原创 图片转PDF C#
Code:using System;using System.Collections.Generic;using System.Text;using System.Drawing;using System.IO;using iTextSharp.text;using iTextSharp.text.pdf;using System.Drawing.Imaging;using S
2017-08-17 11:22:54
2703
转载 通过网页Url,保存为图片
公共方法:using System;using System.Drawing;using System.Drawing.Imaging;using System.Runtime.InteropServices;using System.Runtime.InteropServices.ComTypes;using System.Security;using System.
2017-08-17 10:10:19
1692
wallpaper_engine.part3
2018-01-14
wallpaper_engine.part2
2018-01-14
wall_engine_part1
2018-01-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人