摘要: 1. List 集合 : 一种可以存储对象的列表,可以通过索引访问其中的元素, 和数组不同,数组一旦定义后,必须指定长度,List可以动态的增加大小。List 内部使用数组存储,如果满了,将创建一个新的更大的数组,并将现有的数组中的项目复制到新的数组中。 创建集合: var list = new L 阅读全文
posted @ 2021-06-13 10:58 反方向的钟lld 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 最近在做一个将html 页面导出为word 的功能,在网上找了一通,发现简单的方案,是使用 jQuery-Word-Export.js , 因为我的html 页面中包含有 echarts 图表,直接导出,图表不能导出, 网上找了相关的方案,是通过现将图片通过base64 编码后,再导出,这样操作完后 阅读全文
posted @ 2020-08-30 10:05 反方向的钟lld 阅读(833) 评论(2) 推荐(1) 编辑
摘要: 1.现象:当各项占比相同时,数据显示在柱状图里面 2.解决方法: 3.效果 阅读全文
posted @ 2019-01-29 13:09 反方向的钟lld 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: 1、问题 在微信浏览器中,需要时刷新当前页面。 正常情况下我们直接使用 location.reload 方法来刷新。 2、解决方法 3、转载自:https://blog.csdn.net/qq_38323724/article/details/84967734 To approve a single 阅读全文
posted @ 2019-01-22 19:49 反方向的钟lld 阅读(833) 评论(0) 推荐(0) 编辑
摘要: asp.net 更新数据时报错:Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities w 阅读全文
posted @ 2018-11-02 15:25 反方向的钟lld 阅读(9267) 评论(0) 推荐(3) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.OleDb; namespace ReadExcel{ clas 阅读全文
posted @ 2017-11-30 08:28 反方向的钟lld 阅读(327) 评论(0) 推荐(0) 编辑
摘要: <connectionStrings> <add name ="connStr" connectionString="server=.;Database=test;Trusted_connection=Yes;connect Timeout=90"/> </connectionStrings> 阅读全文
posted @ 2017-07-19 20:39 反方向的钟lld 阅读(138) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { Console.WriteLine("请输入要查询的学生姓名!"); string nameToQuery = Console.ReadLine(); using (Stream stream = File.OpenRead(@"D 阅读全文
posted @ 2017-07-13 22:56 反方向的钟lld 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 文件下载器: 阅读全文
posted @ 2017-07-12 08:04 反方向的钟lld 阅读(151) 评论(0) 推荐(0) 编辑