摘要: static string sqlServer= "server=.;database=DBsql;user id=sa;pwd=sa;"; #region 返回单个值 public static void refdange() { //实例化连接通道 SqlConnection conn = ne 阅读全文
posted @ 2021-09-25 18:01 zxh91989 阅读(971) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function(){ $("#b01").click(function(){ htmlobj=$.ajax({url:"/jquery/test1.txt",async:false}); var temp=htmlobj.responseText; alert( 阅读全文
posted @ 2021-08-31 10:36 zxh91989 阅读(717) 评论(0) 推荐(0) 编辑
摘要: 在用IE运行(必须) <!DOCTYPE html><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title></title> </head> <script language= 阅读全文
posted @ 2021-08-31 10:32 zxh91989 阅读(963) 评论(0) 推荐(0) 编辑
摘要: 通过 outerHTML document.documentElement.outerHTML 通过异步请求(完整源码,推荐) $.get(window.location.href,function(res){ console.log(res); }); 通过jQuery $("html").htm 阅读全文
posted @ 2021-08-29 21:06 zxh91989 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: js代码 $('img').click(function () { //获取图片路径 var imgsrc = $(this).attr("src"); console.log(imgsrc); var opacityBottom = '<div class="opacityBottom" styl 阅读全文
posted @ 2021-08-25 16:37 zxh91989 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 查看大图、html查看大图、js查看大图 $(".pimg").click(function(){ var _this = $(this);//将当前的pimg元素作为_this传入函数 imgShow("#outerdiv", "#innerdiv", "#bigimg", _this); }); 阅读全文
posted @ 2021-08-25 16:36 zxh91989 阅读(796) 评论(0) 推荐(0) 编辑
摘要: 2018年10月10日官网3个接口废弃的通知: 1、分享监听接口分享消息给好友时,开发者将无法从callback获知用户是否分享完成,也无法在分享后立即获得群ID。请参考调整指引 2、getUserInfo接口用户需要点击组件后,才可以触发登录授权弹窗、授权自己的昵称头像等数据。请参考调整指引 3、 阅读全文
posted @ 2021-01-26 10:49 zxh91989 阅读(102) 评论(0) 推荐(0) 编辑
摘要: const TextField({ Key key, this.controller, // 控制正在编辑文本 this.focusNode, // 获取键盘焦点 this.decoration = const InputDecoration(), // 边框装饰 TextInputType key 阅读全文
posted @ 2020-07-01 18:49 zxh91989 阅读(664) 评论(0) 推荐(0) 编辑
摘要: 官方表单网络请求示例: FormData formData = FormData.fromMap({ "name": "wendux", "age": 25, "file": await MultipartFile.fromFile("./text.txt",filename: "upload.tx 阅读全文
posted @ 2020-07-01 10:18 zxh91989 阅读(3881) 评论(0) 推荐(0) 编辑
摘要: DataTable table : DataRow row=table.Rows[i];//DataTable的第i行 row.BeginEdit();//开始编辑行 row["columnname"]="4:05:06";//给行的列"columnname"赋值 row.EndEdit();//结 阅读全文
posted @ 2020-06-23 10:01 zxh91989 阅读(3752) 评论(0) 推荐(0) 编辑