摘要: Git 什么是Git? Git是一款源代码管理工具(版本控制工具) 我们写的代码需要使用Git进行管理。 源代码有必要管理起吗? 1.0 2.0 // svn,vss,vcs.... git 有必要,因为人工的去处理不同的版本,做相应备份会很麻烦。 Git是linux之父当年为了维护linux li 阅读全文
posted @ 2023-01-05 15:12 萤安 阅读(20) 评论(0) 推荐(0) 编辑
摘要: .net ConfigurationManager.AppSettings[key];读取配置文件,依赖于.net framework 库,当升级为.net core 时会读不到,此时 .net core 读取配置文件,可以直接通过读取xml节点 public class Configs { /// 阅读全文
posted @ 2022-11-28 18:00 萤安 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1 byte(字节) =8 bit(位) =8位二进制数 =2个 十六进制数 阅读全文
posted @ 2022-10-18 13:38 萤安 阅读(14) 评论(0) 推荐(0) 编辑
摘要: bootstrap paginator 分页 效果图 1. Demo前的准备 1.1. 编程环境 VS2019 1.2. 准备 分页插件(bootstrap paginator)下载: https://github.com/lyonlai/bootstrap paginator 下载后找到 这个为该 阅读全文
posted @ 2020-04-09 16:07 萤安 阅读(622) 评论(0) 推荐(0) 编辑
摘要: VS2019+MVC+EF6-CodeFirst 连接MySQL 1、准备环境(通过NuGet获取) EntityFramework MySql.Data.Entity 安装后确认 2、在MVC-Model文件夹下添加一个学生类,后面用它通过[数据迁移]在MySQL中创建一个表 public cla 阅读全文
posted @ 2020-04-05 16:58 萤安 阅读(846) 评论(0) 推荐(0) 编辑
摘要: 错误图片: 解决方案: 1、 服务列表里没有MySQL服务,故出现该错误。请进入MySQL的bin目录,并在bin目录打开命令行窗口,在命令行窗口输入:mysqld --install,回车,提示:Service successfully installed。表示安装MySQL服务成功,命令行窗口输 阅读全文
posted @ 2017-11-08 14:54 萤安 阅读(2495) 评论(0) 推荐(0) 编辑
摘要: 1、问题 使用MySQL5.7时,会遇到密码过期无法登陆的问题,显示1862-Your password has expired. To log in you must change it using a client that supports expired passwords. 2、解决方法 阅读全文
posted @ 2017-10-10 15:32 萤安 阅读(2183) 评论(0) 推荐(0) 编辑