摘要: static void Main(string[] args) { double? num1 = null; // ? 说明num1可以为空 double? num2 = 3.14157; double num3; num3 = num1 ?? 5.34; // num1 如果为空值则返回 5.34 阅读全文
posted @ 2019-03-05 10:24 絮絮墨恒 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 我们把内存分为堆空间和栈空间 堆空间内容大,读取慢(可以按任意顺序删除,想删哪个删哪个) 栈空间内容小,读取快 (先进后出) 队列(先进新出) 阅读全文
posted @ 2019-03-05 09:53 絮絮墨恒 阅读(144) 评论(0) 推荐(0) 编辑
摘要: ad'min select * from user where name ='ad''min' 阅读全文
posted @ 2019-02-19 15:28 絮絮墨恒 阅读(4988) 评论(0) 推荐(0) 编辑
摘要: sql:new idc# new guid 阅读全文
posted @ 2019-02-13 16:48 絮絮墨恒 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Exec [msdb].dbo.sp_send_dbmail @profile_name='SQLMailConfig', @recipients = @email, //需要发送的邮箱 @subject=@emalSubject, //邮件标题 @body=@emailBody; //内容 阅读全文
posted @ 2019-01-14 16:05 絮絮墨恒 阅读(205) 评论(0) 推荐(0) 编辑
摘要: httpContext.Current.Request.Url.Authority 阅读全文
posted @ 2019-01-09 16:48 絮絮墨恒 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Response.Write("<script>window.onload=function (){if(confirm(\"该文件已经存在,确定要替换吗吗?\")){document.getElementById(\"hidIsSave\").value = \"1\" }else {docume 阅读全文
posted @ 2019-01-08 18:54 絮絮墨恒 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 作者:慕课网链接:https://www.zhihu.com/question/41667536/answer/486640083来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 好用的界面工具sourcetree 一、新建代码库# 在当前目录新建一个Git代码库$ g 阅读全文
posted @ 2018-12-27 14:01 絮絮墨恒 阅读(166) 评论(0) 推荐(0) 编辑
摘要: var val = $("#id").textbox('getValue') //取值 $("#id").textbox('setValue','text') //赋值 阅读全文
posted @ 2018-12-20 13:36 絮絮墨恒 阅读(928) 评论(0) 推荐(0) 编辑
摘要: 关闭自定义 Div+Iframe弹窗 :window.parent.$("div的id/class/name").remove();//移除div 关闭Iframe弹窗:window.parent.getElementById("放Ifarme的id").style.display = "none" 阅读全文
posted @ 2018-11-09 10:15 絮絮墨恒 阅读(6285) 评论(0) 推荐(0) 编辑