摘要:
使用模板绑定数据,可以嵌套循环 参考:http://www.doc88.com/p-6621237324128.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml
阅读全文
posted @ 2016-01-21 10:37
邢帅杰
阅读(477)
推荐(0)
摘要:
vs上NuGet搜索NPOI.Excel 和 Newtonsoft.Json,安装。https://www.cnblogs.com/mq0036/p/9835975.html /// <summary> /// 导出账单汇总 /// </summary> /// <param name="sende
阅读全文
posted @ 2016-01-19 11:46
邢帅杰
阅读(552)
推荐(0)
摘要:
using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Xml.Linq;using System.Data.SqlClient;/// ///...
阅读全文
posted @ 2016-01-18 15:17
邢帅杰
阅读(399)
推荐(0)
摘要:
var angelweb="我,你,ta,";var re=/[,,]/g;if(re.test(angelweb)){ var n=angelweb.match(re).length; alert("字符串中包含"+n+"个逗号!"); }
阅读全文
posted @ 2016-01-14 12:11
邢帅杰
阅读(1447)
推荐(0)
摘要:
需要引用:using System.Data.OleDb; /// <summary> /// 获取Excel数据,包含所有sheet /// </summary> /// <param name="fullPath"></param> /// <returns></returns> public
阅读全文
posted @ 2016-01-12 18:55
邢帅杰
阅读(639)
推荐(0)
摘要:
// 取当前页面名称(不带后缀名) function pageName() { var a = location.href; var b = a.split("/"); var c = b.slice(b.length-1, b.length).toString(String).split(".")...
阅读全文
posted @ 2016-01-09 14:16
邢帅杰
阅读(255)
推荐(0)
摘要:
Case具有两种格式。简单Case函数和Case搜索函数。--简单Case函数CASE sexWHEN '1' THEN '男'WHEN '2' THEN '女'ELSE '其他' END--Case搜索函数CASE WHEN sex = '1' THEN '男'WHEN sex = '2' THE...
阅读全文
posted @ 2016-01-08 17:11
邢帅杰
阅读(146)
推荐(0)
摘要:
/// <summary> /// 将泛类型集合List类转换成DataTable /// </summary> /// <param name="list">泛类型集合</param> /// <returns></returns> public static DataTable ListToDa
阅读全文
posted @ 2016-01-06 18:25
邢帅杰
阅读(202)
推荐(0)
摘要:
自己根据实际情况来写吧,主要写一下主要的工作内容,如何努力工作,取得的成绩,最后提出一些合理化的建议或者新的努力方向.工作总结就是让上级知道你有什么贡献,体现你的工作价值所在。所以应该写好几点: 1、你对岗位和工作上的认识2、具体你做了什么事 3、你如何用心工作,哪些事情是你动脑子去解决的。就算没什...
阅读全文
posted @ 2016-01-06 11:58
邢帅杰
阅读(363)
推荐(0)
摘要:
//ServiceStack对浏览器有一定的限制//修改AppHost.cs文件using Funq;using ServiceStack;using ServiceStackTest.ServiceInterface;namespace ServiceStackTest{ public cl...
阅读全文
posted @ 2016-01-04 18:47
邢帅杰
阅读(601)
推荐(0)