摘要: using System; using System.Collections.Generic; using System.Text; namespace MacPrinter { public class ZPL_Command { /// (^EF)<summary> /// 清除设定 (已包含起 阅读全文
posted @ 2014-03-26 17:54 深南大道 阅读(834) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace BarCodeLibrary { public class Zebra 阅读全文
posted @ 2014-03-26 15:17 深南大道 阅读(3409) 评论(0) 推荐(0)
摘要: //读配置文件 方法(1) //ConfigurationManager.RefreshSection("appSettings"); //强制重新载入 string settingValue = ConfigurationManager.AppSettings.Get("setting1"); / 阅读全文
posted @ 2014-03-26 15:04 深南大道 阅读(243) 评论(0) 推荐(0)
摘要: sqlite常用sql语句 --返回UTC时间 select CURRENT_TIMESTAMP; --返回本地时间 select datetime(CURRENT_TIMESTAMP,'localtime'); --时间转换,时间转换时要求: yyyy-MM-dd,例如: 2008-08-09 S 阅读全文
posted @ 2014-03-26 14:51 深南大道 阅读(734) 评论(0) 推荐(0)
摘要: public string passText { get { return textBox1.Text; } } //Form1中还有个按钮button1在其点击事件中有: private void button1_Click(object sender, EventArgs e) { Form2 阅读全文
posted @ 2014-03-26 13:02 深南大道 阅读(221) 评论(0) 推荐(0)
摘要: private void button1_Click(object sender, EventArgs e) { //Sqlite使用事务批量操作 极大的提高速度 DateTime starttime = DateTime.Now; using (SQLiteConnection con = new 阅读全文
posted @ 2014-03-26 12:58 深南大道 阅读(422) 评论(0) 推荐(0)