摘要:
select 列名称 from 表名称select * from 表名称 insert into 表名称 values ('1','2','3',...) 插入新的行insert into 表名称 (列1,列2,...) values ('1','2','3',...) 指定所要插入数据的列 ins 阅读全文
摘要:
string s = Environment.CurrentDirectory; //需添加Forms.DLL s = System.Windows.Forms.Application.StartupPath; s = System.Windows.Forms.Application.Executab... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Text; using static System.Console; //使用流处理文件 //FileStream //读取器和写入器 //StreamReader StreamW... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.IO; using static System.Console; /*System.IO: FileSystemInfo DriveInfo | | DirectoryInfo FileInfo ... 阅读全文
摘要:
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using static System.Console; //任务同步 //1.lock 锁定一个引用类型的变量 /*死锁 lock (_s1) { lock (_s2) ... 阅读全文
摘要:
using System; using System.Threading; using System.Threading.Tasks; using static System.Console; //异步编程 //1.异步模式 //2.基于事件的异步模式 //3.基于任务的异步模式 namespace ConsoleApp { class Program { ... 阅读全文