2020年1月19日
摘要: //dtH System.Data.DataTable dttemp = new System.Data.DataTable(); DataView tempDv = dtH.DefaultView; dtH = tempDv.ToTable(); dttemp = tempDv.ToTable(t 阅读全文
posted @ 2020-01-19 15:30 幽冥20 阅读(165) 评论(0) 推荐(0)
摘要: public string GetJpgFile(string strFileServerPath ,string strReportDir) { string strPath = ""; strJpgFileName = ""; try { WebClient web = new WebClien 阅读全文
posted @ 2020-01-19 10:25 幽冥20 阅读(240) 评论(0) 推荐(0)
摘要: 下载iTextSharp.dll using iTextSharp.text.pdf; PdfReader reader = new PdfReader(strPath + "\\" + strPdfFileName);reader.Close(); 阅读全文
posted @ 2020-01-19 10:14 幽冥20 阅读(424) 评论(0) 推荐(0)
摘要: /// <summary> /// 中文字符工具类 /// </summary> private const int LOCALE_SYSTEM_DEFAULT = 0x0800; private const int LCMAP_SIMPLIFIED_CHINESE = 0x02000000; pr 阅读全文
posted @ 2020-01-19 09:16 幽冥20 阅读(166) 评论(0) 推荐(0)
摘要: public DataTable ConnMySql(string strRegisterNo) { try { DataTable dt = new DataTable("table"); string constr = IP"server=.;database=DB;uid=sa; pwd=sa 阅读全文
posted @ 2020-01-19 09:01 幽冥20 阅读(125) 评论(0) 推荐(0)