摘要:        
自定义模型转JSON之Newtonsoft.Json.dll 、System.Runtime.Serialization.dll和System.Web.Extensions.dll 自定义学生模型 #region 自定义学生模型 public enum Sex { 男 = 0, 女 = 1 } [S    阅读全文
posted @ 2021-08-16 19:08
码农阿亮
阅读(122)
评论(0)
推荐(0)
        
            
        
        
摘要:        
JSONStrToList、StrTosJSON JSONStrToList public class Obj { public string Name { get; set; } public double Price { get; set; } } 自定义模型 //json转对象、数组, 反序列    阅读全文
posted @ 2021-08-16 18:14
码农阿亮
阅读(86)
评论(0)
推荐(0)
        
            
        
        
摘要:        
C#实现连接数据库 一、Oracle 查询 public static DataTable QueryData() { DataTable dtResult = new DataTable(); try { using (OracleConnection oc = new OracleConnect    阅读全文
posted @ 2021-08-16 16:36
码农阿亮
阅读(304)
评论(0)
推荐(0)
        
            
        
        
摘要:        
C#实现MES系统导出多个页签的Excel文件 SpreadsheetLight.dll Excel.dll #region EXCEL public void DeleteFile(string FilePath) { if (!Directory.Exists(FilePath)) Direct    阅读全文
posted @ 2021-08-16 15:38
码农阿亮
阅读(499)
评论(0)
推荐(0)
        
            
        
        
摘要:        
C#前端画表 一、创建表 HtmlTable ht = new HtmlTable(); ht.Border = 1; ht.Width = "100%"; ht.BorderColor = "#7CBD2A"; ht.CellPadding = 0; ht.CellSpacing = 0; ht.    阅读全文
posted @ 2021-08-16 15:24
码农阿亮
阅读(230)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号