上一页 1 ··· 3 4 5 6 7
摘要: 我的代码是: //读取 private void button1_Click(object sender, EventArgs e) { if(File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory+"123.txt") != "") { thi 阅读全文
posted @ 2020-05-11 10:19 小寒2020 阅读(217) 评论(0) 推荐(0)
摘要: 将两个路径合成一个路径,自动处理路径分隔符的问题。 函数声明如下:public static string Combine ( string path1, string path2 ) 常规使用方法。string path = Path.Combine("D:\\work", "April.txt" 阅读全文
posted @ 2020-05-11 10:14 小寒2020 阅读(353) 评论(0) 推荐(0)
摘要: 摸清数据产生量如何,如果是1钞钟1条记录,则一台车一天就有86400条记录,则建议如下: 1、每台车使用单独的表,程序内部使用CreateTable,动态创建表,销毁表。这样车与车之间不会产生联系。 前提:系统管理的车应该不会经常变来变去,没有很多关联查询出多台车轨迹的需求。 2、建立当前表、历史表 阅读全文
posted @ 2020-05-09 13:41 小寒2020 阅读(1030) 评论(2) 推荐(0)
摘要: 如题C#中() =>是什么意思,比如 public ICommand AddCommand { get { if (this.addCommand == null) this.addCommand = new RelayCommand(() => this.AddPerson(), () => th 阅读全文
posted @ 2020-05-09 09:14 小寒2020 阅读(18119) 评论(1) 推荐(0)
上一页 1 ··· 3 4 5 6 7