会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
*tfe*
上一页
1
2
3
4
下一页
2019年6月13日
webapi将list转为datatable
摘要: /// <summary> /// 将list转为datatable /// </summary> /// <typeparam name="ExcelExportModel"></typeparam> /// <param name="list"></param> /// <returns></r
阅读全文
posted @ 2019-06-13 11:29 *tfe*
阅读(239)
评论(0)
推荐(0)
2019年6月12日
asp.net webapi 发送手机验证码
摘要: #region 获取验证码 /// <summary> /// 获取验证码 /// </summary> /// <param name="tel">手机号码</param> /// <returns></returns> [Route("api/User/GetVarCode/")] [HttpG
阅读全文
posted @ 2019-06-12 15:14 *tfe*
阅读(319)
评论(0)
推荐(0)
2019年5月30日
Excel下载并导出
摘要: /// <summary> /// 1-Excel导出下载文件 /// </summary> /// <returns></returns> [HttpGet] [Route("api/DataBase/DownloadFile/")] public IHttpActionResult Downlo
阅读全文
posted @ 2019-05-30 16:32 *tfe*
阅读(304)
评论(0)
推荐(0)
使用NPOI方式导入Excel到数据库
摘要: 使用Excel导入时要先安装管理NuGet程序包-NPOI public BaseResult ExcelImport() { HttpFileCollection filelist = HttpContext.Current.Request.Files; if (filelist != null
阅读全文
posted @ 2019-05-30 14:38 *tfe*
阅读(411)
评论(0)
推荐(0)
2019年5月28日
sqlserver插入数据并返回主键
摘要: string sql = string.Format("insert into t_user(login_name,password,user_name,phonenumber,status) VALUES ('{0}','{1}','{2}','{3}',{4}); select @@IDENTI
阅读全文
posted @ 2019-05-28 17:28 *tfe*
阅读(892)
评论(0)
推荐(0)
2019年5月27日
WebApi后台调用put方式接口
摘要: [HttpPost] [Route("api/order/PublicData/Add/")] public int Add(users model) { string serviceAddress = "http://192.168.0.251:8887/aaa/user/cms"; HttpWe
阅读全文
posted @ 2019-05-27 16:11 *tfe*
阅读(581)
评论(0)
推荐(0)
2019年5月16日
webapi上传图片限制图片尺寸大小
摘要: #region 上传产品图片 /// <summary> /// 上传产品图片 /// </summary> /// <returns></returns> // GET api/Admin/UpLoadProductImg/ [Route("api/Admin/UpLoadProductImg/"
阅读全文
posted @ 2019-05-16 15:01 *tfe*
阅读(495)
评论(0)
推荐(0)
2019年5月6日
VS2015产品密钥
摘要: HM6NR-QXX7C-DFW2Y-8B82K-WTYJV
阅读全文
posted @ 2019-05-06 09:11 *tfe*
阅读(223)
评论(0)
推荐(0)
2019年3月29日
Token身份验证
摘要: 1.WebConfig中: <httpProtocol></httpProtocol>中加 <customHeaders> <!--<add name="Access-Control-Allow-Origin" value="http://oa.test.facehm.com" />--> <add
阅读全文
posted @ 2019-03-29 11:35 *tfe*
阅读(243)
评论(0)
推荐(0)
.net后台调用API接口
摘要: string dd = model.Fatherid; string serviceAddress = "http://public.data.test.cn/api/PropertyData/GetFloorBuilding"; HttpWebRequest request = (HttpWebR
阅读全文
posted @ 2019-03-29 09:39 *tfe*
阅读(800)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
导航
博客园
首页
新随笔
联系
订阅
管理
公告