摘要:
1 private void ExportExcels(string fileName, DataGridView myDGV) 2 { 3 string saveFileName = ""; 4 SaveFileDialog saveDialog = new SaveFileDialog(); 5 阅读全文
摘要:
1 System.Drawing.Font font = new System.Drawing.Font("UTF-8", 9);//UTF-8是字体的编码格式,2是字体大小 2 dataGridView1.Font = font;//此时dataGridView的字体就已经设置完成 3 int width = 0; ... 阅读全文
摘要:
前段日子做了一个和扫描枪通讯的程序,连接扫描枪时需要先ping 一下ip地址,ping得通就去连,不通就不去连。 阅读全文
摘要:
前些日子做项目用了下Access数据库,看了很多AccessHelper,感觉这个虽然不是最好的,却是可用的。 故此分享一下,以后看到更好的还会继续分享。 点此下载 阅读全文