摘要: public class PrintInfo { public string PortName { get; set; } public string DepartureTime { get; set; } public string AMPM { get; set; } PrintDocument document = new PrintDocument(); private int pageWidth = 302; private int pageHeight = 530; publi... 阅读全文
posted @ 2013-03-12 09:49 嗷嗷嗷 阅读(409) 评论(0) 推荐(0)
摘要: 最近想尝试使用单机版数据库,免去安装的烦恼。了解SQLite很适合我的目的,学习了一番,将学习后的成果发布上来。示例项目代码下载SQLite GUI工具下载一、创建数据库 var filePath = "./1.db";//数据库路径 if (File.Exists(filePath)) File.Delete(filePath); //创建数据库 SQLiteHelp help = new SQLiteHelp(); help.Create(filePath);二、创建表 var createTable = @"CREATE TABLE [User] ([ID] 阅读全文
posted @ 2013-03-12 09:48 嗷嗷嗷 阅读(132) 评论(0) 推荐(0)
外贸SEO