上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: asc就是从小到大,升序排列 desc就是从大到小,降序排列 select * from [表名] order by [列名] (不写就默认是以asc排序) 如果您看了本篇博客,觉得对您有所收获,请点击右下角的 [推荐] 如果您想转载本博客,请注明出处 如果您对本文有意见或者建议,欢迎留言 感谢您的 阅读全文
posted @ 2020-06-23 09:58 养鼠的猫 阅读(6159) 评论(0) 推荐(1)
摘要: VS这提示是真的不行,我用git命令才发现。不过这个问题也是太。。。 错误原因:目录中有非代码的其他文件打开(编辑状态)未关,比如打开的原型,或者.pdm数据库模型文件。 解决方法:只要不保存编辑关闭就行了 阅读全文
posted @ 2020-06-18 16:24 养鼠的猫 阅读(405) 评论(0) 推荐(0)
摘要: 建议打断点食用 using System; using System.Reflection; namespace ConsoleApp { class Program { static void Main(string[] args) { AnimalTypeModel testClass = ne 阅读全文
posted @ 2020-06-18 11:15 养鼠的猫 阅读(214) 评论(0) 推荐(0)
摘要: 新建查询 RESTORE DATABASE [数据库名] WITH RECOVERY 运行 阅读全文
posted @ 2020-06-12 13:32 养鼠的猫 阅读(172) 评论(0) 推荐(0)
摘要: 这种情况,看网上感觉问题是五花八门的,我遇到的是自己建表的问题导致的。 原本我有个空间数据库,但是我想自己再重新拷贝一份,放到另一个数据库里面,所以我导出了创建脚本文件,在新的数据库里面用脚本创建,但是我忘记了修改use,导致我直接在master创建表了。用ArcMap一连就出错,还直接闪退。 解决 阅读全文
posted @ 2020-06-09 15:46 养鼠的猫 阅读(1943) 评论(0) 推荐(0)
摘要: 找了太久解决方法,终于我自己看官方文档才找到,纪念一下两天经历磨难的我 string filePath = "E:\\1.xls"; var validRowCount = 0;//有效的行数(去掉空行的数据行) Workbook wb = new Workbook(filePath); Works 阅读全文
posted @ 2020-06-04 09:42 养鼠的猫 阅读(888) 评论(0) 推荐(1)
摘要: alter table [TABLENAME] add column [COLUMNNAME] DATATYPE 比如:alter table studentInfo add column Score decimal(7,2) 阅读全文
posted @ 2020-06-01 17:13 养鼠的猫 阅读(959) 评论(0) 推荐(0)
摘要: 原本我写了一种方式 //wait cursor 等待 Cursor cursorOriginal = Application.Current.MainWindow.Cursor; Application.Current.MainWindow.Cursor = Cursors.Wait; //orig 阅读全文
posted @ 2020-05-27 09:56 养鼠的猫 阅读(2332) 评论(0) 推荐(2)
摘要: 64 64的表涂色 阅读全文
posted @ 2020-05-25 14:15 养鼠的猫 阅读(144) 评论(0) 推荐(0)
摘要: [TOC] 字符串的转换 1、string 和 int 的转换 string 转 int int 转 string 2、DateTime和string的转换 string 转 DateTime DateTime 转 string 注意:这里的yyyy,MM,dd只能这样写,其他的字母无效的 进阶版: 阅读全文
posted @ 2020-05-22 15:43 养鼠的猫 阅读(2725) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 7 ··· 12 下一页