摘要: http://www.cnblogs.com/langcomeformbeifeng/p/4045765.html 阅读全文
posted @ 2016-10-17 16:21 开开123 阅读(110) 评论(0) 推荐(0) 编辑
摘要: public partial class Json : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { lblContent.Text = Getjson(); List<Student> lis 阅读全文
posted @ 2016-10-14 10:43 开开123 阅读(423) 评论(0) 推荐(0) 编辑
摘要: //登录 function log() { var userName = $("#userName").val(); var pwd = $("#pwd").val(); var yzm = $("#yzm").val(); $.ajax({ url: "../ajax/GetYZM.aspx", 阅读全文
posted @ 2016-10-12 16:09 开开123 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 可视化界面:http://www.bootcss.com/p/layoutit/# 教程:http://www.runoob.com/bootstrap/bootstrap-environment-setup.html 阅读全文
posted @ 2016-10-11 16:00 开开123 阅读(127) 评论(0) 推荐(0) 编辑
摘要: select nnd as '年龄段',count(*) as '人数',sex as '性别' from(selectcasewhen age>=1 and age<=10 then '1-10'when age>=11 and age<=20 then '11-20'when age>=21 a 阅读全文
posted @ 2016-10-10 13:32 开开123 阅读(10082) 评论(0) 推荐(0) 编辑
摘要: string str = "aa"; ArrayList list = new ArrayList(); list.Add("bb"); list.Add("aa"); list.Add("cc"); if (list.IndexOf(str) == -1) { list.Add(str); } 阅读全文
posted @ 2016-10-10 13:28 开开123 阅读(16091) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/bruceli-net/p/5632179.html 好看的demo页面展示:http://121.40.148.178:8080/ 、 用户名:guest,密码:123456 阅读全文
posted @ 2016-09-28 15:32 开开123 阅读(154) 评论(0) 推荐(0) 编辑
摘要: string newFilePath = @"//10.124.1.1/send/" + fileName; FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.Read); FileS 阅读全文
posted @ 2016-09-28 15:15 开开123 阅读(160) 评论(0) 推荐(0) 编辑
摘要: //dic表示excel中的sheet表名,可以导出多个sheet private void Export1(Dictionary<string, DataTable> dic, string filePath, string fileName) { #region 加载模板文件到工作簿对象中 // 阅读全文
posted @ 2016-08-18 09:48 开开123 阅读(1880) 评论(0) 推荐(0) 编辑
摘要: 1.今天再处理Excel2007、2010文件,格式.xlsx文件存在一个问题,在调用 Write方法之后关闭了传入的文件流。 2.今天针对此问题好一顿的测试: 2.1 在有文件构建时不是.xlsx文件格式会报错,构建不成。.xls文件是不行的。 2.2 XSSFWorkbook对象调用 write 阅读全文
posted @ 2016-08-18 09:46 开开123 阅读(12468) 评论(0) 推荐(0) 编辑
摘要: //两个结构一样的DT合并 DataTable DataTable1 = new DataTable(); DataTable DataTable2 = new DataTable(); DataTable newDataTable = DataTable1.Clone(); object[] ob 阅读全文
posted @ 2016-08-15 17:06 开开123 阅读(4102) 评论(0) 推荐(0) 编辑