会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
月天天
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
下一页
2021年9月27日
【笔记】【命令】一些命令相关
摘要: 隐藏执行程序的VBS命令 方式1 DIM objShell set objShell=wscript.createObject("wscript.shell") iReturn=objShell.Run("cmd.exe /C D:\File\a.exe",0,TRUE) 方式2 Set WinSc
阅读全文
posted @ 2021-09-27 16:58 lanofsky
阅读(23)
评论(0)
推荐(0)
编辑
2021年9月6日
【js】【Demo】js-ajaxProtogenesis
摘要: js原生请求XMLHttpRequest封装 //js原生请求XMLHttpRequest const ajaxProtogenesis = { post: function (url, data, success, error, headers) { //默认application/json if
阅读全文
posted @ 2021-09-06 14:24 lanofsky
阅读(29)
评论(0)
推荐(0)
编辑
2021年8月27日
【微信小程序】子主键使用父组件实例对象操作,比如使用父级组件的setData或使用父级组件方法
摘要: 微信官方给出三种组件通信方式:https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/events.html#%E8%A7%A6%E5%8F%91%E4%BA%8B%E4%BB%B6 只有父组件获取子组件
阅读全文
posted @ 2021-08-27 11:38 lanofsky
阅读(417)
评论(0)
推荐(0)
编辑
2021年8月25日
【微信小程序】【Demo】在app.js中添加对所有页面的操作,比如设置是否分享,为所有页面的data添加属性等。
摘要: //允许分享的页面路由 var showShareUrls = ['pages/index/index', //首页 'pages/index/blindBoxPage', //盲盒活动 'pages/index/blindBoxPageOpen2', //盲盒活动 'pages/product/i
阅读全文
posted @ 2021-08-25 17:20 lanofsky
阅读(362)
评论(0)
推荐(0)
编辑
2021年7月29日
【C#】【Demo】.net的mvc过滤器,ip限制
摘要: using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace CommonUtil{ /// <summary> /// .net的mvc过滤器 /// ip限制
阅读全文
posted @ 2021-07-29 17:11 lanofsky
阅读(209)
评论(0)
推荐(0)
编辑
2021年1月30日
【转】sqlserver 查看锁表以及解锁
摘要: select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' spid 锁表进程 tabl
阅读全文
posted @ 2021-01-30 11:27 lanofsky
阅读(70)
评论(0)
推荐(0)
编辑
2021年1月26日
【js】h5上传文件增加进度条[h5js上传zip,jquery的xhr进度条,c#保存文件,c#解压]
摘要: 1、上传的html <!--上传广告图片压缩包--> <div class="x_content" id="ImageUpload_Zip" style="display: none; padding:10px"> <form> <div class="x_panel"> <div class="c
阅读全文
posted @ 2021-01-26 18:13 lanofsky
阅读(164)
评论(0)
推荐(0)
编辑
2021年1月25日
【sql】sql一些摘要:1、临时表。2、插入by查询(和case when then)。3、更新by子查询。4、linq的select实体内赋值时尽量少使用linq方法。
摘要: --1、临时表(DECLARE @details Table()) DECLARE @details Table(DTaskDetailsId [uniqueidentifier] NOT NULL,--任务id DAdvertCompanyFloorId [uniqueidentifier] NO
阅读全文
posted @ 2021-01-25 15:14 lanofsky
阅读(217)
评论(0)
推荐(0)
编辑
2020年12月3日
【C#】【Demo】Excel导入解析(NPOI)和SqlBulkCopy,DataTable和List转换。
摘要: 1、上传Excel文件服务端 /// <summary> /// 任务详情导入模板数据 /// </summary> /// <param name="advertId">广告公司id</param> /// <param name="tempId">excel模板id</param> /// <r
阅读全文
posted @ 2020-12-03 18:06 lanofsky
阅读(189)
评论(0)
推荐(0)
编辑
2020年11月30日
【js】【Demo】百度地图获取点位信息例子
摘要: @{ ViewBag.Title = "坐标选择"; Layout = "~/Views/Shared/_Layout.cshtml";}<div ng-controller="FeiYeCtrl" ng-init="Init()" ng-cloak> <div class="col-md-12 c
阅读全文
posted @ 2020-11-30 11:56 lanofsky
阅读(634)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
下一页
公告