自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

转载 导出Excel

static Result<string> ExportExcel(string excelTemplatePath, DataTable dataSource,Dictionary<string, object> constData,string excelName = null ) { var result = new R...

2019-04-25 21:50:00 95

转载 判断用户是否登录,获取用户的customerID

public static string GetShoppingCartID() { HttpContext hc = HttpContext.Current; //如果有登录ID就返回登录ID if (!string.IsNullOrEmpty(hc.User.Identity.Name)) ...

2017-12-06 13:39:00 1275

转载 参数化 模糊查询 '(@str nvarchar(4000))select * from CMRC_Products where ModelName

我们按照常理写成这样:DataSet ds = SqlHelper.ExecuteDataSet(SqlHelper.Connstr, "select * from CMRC_Products where ModelName like '%@str%'", CommandType.Text, new SqlParameter("@str", str));这是...

2017-11-14 19:41:00 840

转载 图片上传预览

前台代码:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title>&l...

2017-11-14 19:29:00 94

转载 DataTables warning: table id=example - Cannot reinitialise

下面是我的代码,被DataTables warning: table id=example - Cannot reinitialise 困扰半天$(document).ready(function () { var table = $('#example').DataTable({ //ajax 传参 "ajax"...

2017-10-16 21:32:00 269

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除