- 博客(9)
- 收藏
- 关注

原创 c#使用redis 存取dataset数据集
//1.下面是关于c# 使用redis数据库 对dataset进行存取操作的方法using ServiceStack.Redis;using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Web; na
2017-09-15 16:06:34
4026

原创 js验证常见验证方法的整理
//检查小时 function CheckHour(source,args) { args.IsValid=true; reg=/^[0-1][0-9]\d{0,1}|2[0-3]\d{0,1}$/; if((!reg.test(args.Value))||(args.Value.length>2)) {
2017-09-01 08:34:11
491
原创 java读取excel模板数据并且插入到数据库
java读取excel模板数据并且插入到数据库 ////读取模板excel数据并且插入到数据库中 public Object readSchoolExcel(MultipartFile file, UserInfo user) throws IOException { ExcelReader excelReader = null; InputStream inputStream = null; String guid = IdUtil.simpleUU
2022-04-22 09:50:16
1199
1
原创 JAVA操作excel生成报表
JAVA操作excel生成报表 列标题根据选择的项目动态生成 1 模板文件 2 返回结果集 需要在结果集中对返回的数据进行处理,需要返回所在行数据以及所处项目,从而确定所处单元格的位置。 3将报表统计结果处理后生成报表 ///读取excel 模板数据 并且生成报表 private String createFile(String modeID, List<CopyRightFeeExportDTO> list) { String fileId = "";
2022-04-22 09:37:03
1790
原创 C#redis 读取datatable数据(RedisHelper补充)
用c#实现redis datatable或dataset数据 1存入redis是通过将datatable或者dataset数据进行序列化转换成内存流,将流化的对象放入字节数组,然后存到字节数组中 /// /// 插入DATAtable缓存 /// /// 缓存键 /// 缓存对象 /// 过期时间(分钟
2017-09-16 09:28:45
4153
2
原创 ASP.NET开发 封装的DB类(一)
1对传入参数的处理 private static void AttachParameters(SqlCommand command, SqlParameter[] commandParameters) { if( command == null ) throw new ArgumentNullException( "command" ); if( commandPara
2017-09-01 16:43:18
756
原创 sql server 关于表数据的插入
1 最简单的用法就是 INSERT INTO 语句用于向表格中插入新的行。 INSERT INTO A VALUES (值1, 值2,....) 2 insert into 和select 的使用 将 A表中的数据插入到B表 insert into B select * from A ; B 表和A表的列 一一对应 ; 加入B表的列数大于A表
2017-08-30 19:52:56
452
转载 C# EXCEL 操作
using System; using System.Text.RegularExpressions; using System.Web; using System.Configuration; using System.Web.UI; using System.Data; using System.IO; using System.Web.UI.WebControls; usin
2017-08-22 09:15:44
248
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人