09 2017 档案
摘要:using System;using System.Collections;using System.Collections.Generic;using System.Data;using System.IO;using System.Linq;using System.Text;using Sys
阅读全文
摘要:#region 导入订单 protected override string DoExcelData(System.Data.DataTable dt) { string data = ""; try { if (dt.Rows.Count == 0) { return "excel中无数据"; }
阅读全文
摘要:using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Text;using System.Data.OleDb;using System.Collections.S
阅读全文
摘要:string path = row["FileAddress"].ToString().Trim(); Stream fs; try { fs = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read); } catc
阅读全文
摘要:public JsonResult UploadFile(DriverFileManager filem) { var hfc = System.Web.HttpContext.Current.Request.Files; var filePathRoot = GetAppSetting.GetPh
阅读全文
摘要:<form method="post" id="formfile" enctype="multipart/form-data"> <table> <tr> <th>文件路径:</th> <!--新增accept属性选择特定格式图片--> <td><input class="easyui-filebo
阅读全文
摘要:序列化 (Serialization)将对象的状态信息转换为可以存储或传输的形式的过程。在序列化期间,对象将其当前状态写入到临时或持久性存储区。以后,可以通过从存储区中读取或反序列化对象的状态,重新创建该对象。(摘自百度百科) 在很多通讯或者数据存储的过程中,都需要序列化和反序列化的过程。 在C#中
阅读全文
摘要:using System; using System.Drawing; using ZXing.QrCode; using ZXing; using ZXing.Common; namespace NKO_Printer_Core { public class BarcodeHelper { ///
阅读全文