摘要:
首先:添加GET包: iTextSharp 其次:添加命名空间: using iTextSharp; using iTextSharp.text; using iTextSharp.text.pdf; 之后:操作sql sever 数据库中的表,创建DataTable表格,DataTable中字段类 阅读全文
摘要:
public class Person { public string Name { get; set; } public string Sex { get; set; } public int Age { get; set; } } List list = new List() { new Per 阅读全文
摘要:
一、Linq语句的应用: var queryAllCustomers = from cust in customers group cust by cust.City into custGroup where cust.City == "London" && cust.Name.Contains(" 阅读全文
摘要:
DECLARE @oneCycles varchar(50); DECLARE Tey_Cursor CURSOR--定义游标 FOR (select col_id from project_column where col_id in (@endId))--查出需要的集合放到游标中 OPEN Te 阅读全文
摘要:
一、安装Nuget包 System.IO.Compression.ZipFile 从目录创建 zip 存档(压缩文件) ZipFile.CreateFromDirectory 将 zip 存档的内容提取到目录(解压文件) ZipFile.ExtractToDirectory 将新文件添加到现有 zi 阅读全文