上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: automapper 是.net 项目中针对模型之间转换映射的一个很好用的工具,不仅提高了开发的效率还使代码更加简洁,当然也是开源的,https://github.com/AutoMapper,这不多做介绍,详细看,官网下面是介绍它在 .net core 项目中的使用 1. 首先当然先引用 Auto 阅读全文
posted @ 2018-06-28 13:49 chengeng 阅读(199) 评论(0) 推荐(0)
摘要: -- 创建视图 CREATE VIEW VIEW_TABLEASSELECT A.TABLE_NAME, A.column_name 字段名,A.data_type 数据类型,A.data_length 长度,A.data_precision 整数位, A.Data_Scale 小数位,A.null 阅读全文
posted @ 2018-06-08 15:24 chengeng 阅读(1252) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Web;using System.Web.Services; namespace BarCodePrintAp 阅读全文
posted @ 2018-05-24 14:30 chengeng 阅读(642) 评论(0) 推荐(0)
摘要: 1、注意:确认是否已安装 AccessDatabaseEngine.exe 2、可视化按提示操作。 阅读全文
posted @ 2018-05-22 16:59 chengeng 阅读(166) 评论(0) 推荐(0)
摘要: USE[master] GO ALTER DATABASE 要清理的数据库名称 SET RECOVERY SIMPLE WITH NO_WAIT GO ALTER DATABASE 要清理的数据库名称 SET RECOVERY SIMPLE --简单模式 GO USE 要清理的数据库名称 GO DB 阅读全文
posted @ 2018-05-14 16:04 chengeng 阅读(201) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.IO;using System.Runtime.InteropServices;using System.Text; namespace PrintLabel{ public cla 阅读全文
posted @ 2018-04-19 16:40 chengeng 阅读(358) 评论(0) 推荐(0)
摘要: 斑马打印机客户端GET和POST,以及后端两种打印方式。 背景环境:打印机安装在客户端外网。当用户登录时,通过ajax取服务器数据,返回打印机命令,然后客户端通过JS发送给斑马打印机。 1、使用Get方式打印 1.1 前端页面js代码 jQuery(function () { $("#btnRePr 阅读全文
posted @ 2018-01-29 09:20 chengeng 阅读(1606) 评论(0) 推荐(0)
摘要: <script type="text/javascript"> function printZpl(zpl) {var printWindow = window.open();printWindow.document.open('text/plain')printWindow.document.wr 阅读全文
posted @ 2017-12-29 16:43 chengeng 阅读(3163) 评论(0) 推荐(0)
摘要: //遍历table var tableObj = document.getElementById("tableName");var str = "";for(var i=0;i<tableObj.rows.length;i++){ for(varj=0;j<tableObj.rows[i].cell 阅读全文
posted @ 2017-12-07 13:39 chengeng 阅读(241) 评论(0) 推荐(0)
摘要: <html lang="zh-ch"><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-wid 阅读全文
posted @ 2017-10-16 11:06 chengeng 阅读(1737) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页