摘要: 1.添加引用 using System.Net.Mail; 2.发送邮件实现代码 --qq邮件要求://验证发件人身份(发件人的邮箱,邮箱里的生成授权码);client.Credentials = new NetworkCredential("123456@qq.com", "fnsedjxib") 阅读全文
posted @ 2017-10-04 18:51 735882640 阅读(2570) 评论(0) 推荐(0) 编辑
摘要: 1.for xml path(''),将多行数据拼接成一个xml格式子串 2.stuff(string,index,length,otherstring),删除指定长度的字符,并插入另一组字符 实例: 创建表create table Pro_List(pro_no nvarchar(50)) 1. 阅读全文
posted @ 2017-10-04 17:46 735882640 阅读(1278) 评论(0) 推荐(0) 编辑
摘要: asp.net站点时间格式与系统时间格式不匹配时,当修改系统时间格式,站点时间可能还是旧的格式。则可通过修改注册表更新时间格式。1.开始-运行-输入regedit,依次找到HKEY-Users\.DEFAULT\Control Panel\International2.修改sDate项,值改为“-” 阅读全文
posted @ 2017-10-04 16:58 735882640 阅读(518) 评论(0) 推荐(0) 编辑
摘要: window.opener=null;window.open('','_self','');window.close(0); 阅读全文
posted @ 2017-10-04 16:46 735882640 阅读(206) 评论(0) 推荐(0) 编辑
摘要: --查看数据库的recovery_model_desc类型 --SELECT NAME, recovery_model_desc FROM sys.databases--如果是FULL类型,修改为SIMPLE类型 --alter DATABASE ASFCORE SET Recovery simpl 阅读全文
posted @ 2017-10-04 16:44 735882640 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 一、 ActiveMQ环境部署 (1)Apache.NMS.dll路径:\Apache.NMS.ActiveMQ-1.7.2-bin\lib\Apache.NMS\net-3.5 (2)Apache.NMS.ActiveMQ.dll路径:\Apache.NMS.ActiveMQ-1.7.2-bin\ 阅读全文
posted @ 2017-10-04 16:23 735882640 阅读(8866) 评论(0) 推荐(1) 编辑
摘要: post方法using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Web; namespace Demo { public class MyPostGetHelper ... 阅读全文
posted @ 2017-10-04 14:45 735882640 阅读(1292) 评论(0) 推荐(0) 编辑
摘要: hosts配置 C:\Windows\System32\drivers\etc 阅读全文
posted @ 2017-10-04 14:38 735882640 阅读(127) 评论(0) 推荐(0) 编辑
摘要: radio获取checked值 $('input[name="testradio"]:checked').val(); 阅读全文
posted @ 2017-10-04 14:36 735882640 阅读(596) 评论(0) 推荐(0) 编辑