摘要: 首先开一个控制台,然后封装DES加密的代码 1 /// <summary> 2 /// 将字符串进行DES加密 3 /// </summary> 4 /// <param name="encryString">准备要加密的字符串</param> 5 /// <param name="encryKey 阅读全文
posted @ 2020-04-26 14:16 默緣心 阅读(1406) 评论(0) 推荐(0) 编辑
摘要: 在这里介绍一下layui数据表格的简单使用,并介绍所踩的坑 首先封装一个类,将数据表格所需要的属性封装在这里 1 public class MsgJson<T> where T:class,new() 2 { 3 //错误提示代号 4 public int code { get; set; } 5 阅读全文
posted @ 2020-04-25 14:43 默緣心 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 初学Vue所遇 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8" /> 5 <title></title> 6 <script src="js/vue.js" type="text/javascript" charset="utf 阅读全文
posted @ 2020-03-31 09:50 默緣心 阅读(122) 评论(0) 推荐(0) 编辑
摘要: public FileResult ExcelFile() { //new 一个列表待用 List<Student> allList = new List<Student>(); //将该表中所有数据获取出来 var slist = bll.GetAllList(); Student model = 阅读全文
posted @ 2020-03-11 17:56 默緣心 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1 public string ExcelFile() 2 { //指定文件路径, 3 string fileName=@"d:\Stu.xls"; //创建一个文件流,并指定其中属性 4 using(FileStream fs = new FileStream(fileName,FileMode. 阅读全文
posted @ 2020-03-11 16:25 默緣心 阅读(703) 评论(1) 推荐(1) 编辑