会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
andy_cq
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
26
···
36
下一页
2019年2月18日
存储过程中拼写sql并执行
摘要: 直接上代码吧,根据不同的条件拼写sql后并执行
阅读全文
posted @ 2019-02-18 16:28 爱生活,爱代码
阅读(1195)
评论(0)
推荐(0)
2019年1月24日
SqlHelper---操作数据库
摘要: public class SqlHelper { /// /// 数据库连接字符串 /// public static readonly string connectionString = ConfigurationManager.ConnectionStrings["xmgl"].ToString(); ...
阅读全文
posted @ 2019-01-24 19:22 爱生活,爱代码
阅读(282)
评论(0)
推荐(0)
ExcelHelper----根据指定样式的数据,生成excel(一个sheet1页)文件流
摘要: /// /// Excel导出类 /// public class ExcelHelper { /// /// 根据指定样式的数据,生成excel(一个sheet1页)文件流 /// /// 待导出数据的数组(包括隐藏的数据) /// The title. /...
阅读全文
posted @ 2019-01-24 19:20 爱生活,爱代码
阅读(430)
评论(0)
推荐(0)
解析Excel----ExcelHelper
摘要: public static class ExcelHelper { /// /// 获取单元格的值 /// /// Excel sheet表名称 /// 行索引 /// 列索引 /// 行索引和列索引从0开始 ///这个方法是用来检查如果你不知道你的单元格里...
阅读全文
posted @ 2019-01-24 19:15 爱生活,爱代码
阅读(580)
评论(0)
推荐(0)
Rest客户端
摘要: public class RestClient { public string EndPoint { get; set; } //请求的url地址 public HttpVerb Method { get; set; } //请求的方法 public string ContentType { get; set; } //...
阅读全文
posted @ 2019-01-24 19:13 爱生活,爱代码
阅读(188)
评论(0)
推荐(0)
DES对称加密
摘要: /// /// DES对称加密 /// public static class DESHelper { /// /// 根据用户名解密 /// /// /// /// public static string Decrypt(string ...
阅读全文
posted @ 2019-01-24 19:06 爱生活,爱代码
阅读(234)
评论(0)
推荐(0)
单点登陆 ---密钥
摘要: 一、需求描述 现在有A系统和B系统,需要在A系统进行单点登陆到B系统。 二、B系统要做事 1、提供一个可以让A系统登陆的网址 http://localhost:8083/Account/SingleSignOn/?u=xxx&token=FB92B341DBDB59D7 其中,u为加密后的用户名,t
阅读全文
posted @ 2019-01-24 19:00 爱生活,爱代码
阅读(635)
评论(0)
推荐(0)
2019年1月16日
PageOffice 使用Dome
摘要: 一、前言 PageOffice是一款帮助Web应用系统或Web网站实现用户在线编辑Word、Excel、PowerPoint文档,Word/Excel模板动态填充,Word/Excel在线输入提交,系统数据导入导出word、excel文档的Office快速开发组件库,是目前把Office应用到Web
阅读全文
posted @ 2019-01-16 13:32 爱生活,爱代码
阅读(10824)
评论(1)
推荐(1)
2019年1月14日
rest webapi 返回数据
摘要: webapi可以直接返回一个对象,也可以返回json 一、返回一个对象例子 二、返回一个json帮助类
阅读全文
posted @ 2019-01-14 20:38 爱生活,爱代码
阅读(547)
评论(0)
推荐(0)
2019年1月12日
下载指定路径的文件到本地服务器
摘要: private string SaveFileToLocal(string url) { FileStream os = null; FileStream ns = null; try { string savePath = @"C:\Users\Adm...
阅读全文
posted @ 2019-01-12 20:56 爱生活,爱代码
阅读(572)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
36
下一页
公告