10 2018 档案
摘要:DataTable dt = new DataTable(); dt.Columns.Add("clmn1", System.Type.GetType("System.String")); dt.Columns.Add("clmn2", System.Type.GetType("System.String")); ...
阅读全文
摘要:#region 自动列宽 for (int I = 0; I < gridView1.Columns.Count; I++) { this.gridView1.BestFitColumns(); this.gridView1.Columns[I].BestFit();//自动列宽 } #endreg
阅读全文
摘要:地址 C:\Users\*\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets 修改图片方法ren *.* *.jpg
阅读全文
摘要:这时候实例化窗体就会出现公共变量无法使用的问题,这时我们可以使用下面方法
阅读全文
摘要:将licensens.licx删除,就能正常运行
阅读全文
摘要:PrintDialog BS = new PrintDialog(); int x = BS.PrinterSettings.DefaultPageSettings.PaperSize.Width;//打印机默认纸张大小 int y = BS.PrinterSettings.DefaultPageS
阅读全文
摘要:修改表tax_version添加up_content属性为text类型非空,注释为“更新内容”,字段添加再“name”属性后面 ALTER TABLE `tax_version` ADD `up_content` TEXT NOT NULL COMMENT '更新内容' AFTER `name`;
阅读全文
摘要:在黑窗口也就是(DOS)命令提示符窗口里面输入以上命令
阅读全文
摘要:1.首先,打开application下的config.php文件,将log配置打开如下 2.在控制器里面输入,并在浏览器打开该控制器 3.最后就能在application下的logs文件夹里面开到最近生成的log文件
阅读全文
摘要:我这边判断方式是直接在配置文件里面设置版本号,然后和服务器上面的版本对比,低于服务器版本就更新程序。 <?xml version="1.0" encoding="utf-8"?><configuration> <appSettings> </appSettings></configuration>
阅读全文
摘要:IWorkbook excel = new HSSFWorkbook();//创建.xls文件 ISheet sheet = excel.CreateSheet("sheet1"); //创建sheet int rowindex = 0; IRow row = sheet.CreateRow(rowindex...
阅读全文
摘要:public void ExcelOp(DataGridView gdv,ArrayList selHead) { if (selHead.Count==0) { MessageBox.Show("没有数据,无法导出EXCEL!"); return; ...
阅读全文
摘要://调用column_add添加列
阅读全文
摘要:$("input[name='version_no']")
阅读全文
摘要:https://blog.csdn.net/xxs77ch/article/details/50232343
阅读全文
摘要:Version now_v = new Version(strval); Version load_v = new Version(model.version.ToString()); if (now_v < load_v&& MessageBox.Show("检查到新版本,是否更新?", "Update", MessageBoxB...
阅读全文
摘要:1.app.config配置文件修改 2.连接字符串的引用 添加引用 连接字符串调用 3.appSettings 配置的调用
阅读全文