SmtpClient client = new SmtpClient("smtp.163.com"); client.Credentials = new NetworkCredential("tongshuai2014@163.com","****"); MailAddress from = new MailAddress("tongshuai2014@163.com", "梦醒心晴", System.Text.Encoding.UTF8); MailAddress to = new MailA Read More
组件下载地址http://pan.baidu.com/share/link?shareid=633982&uk=2837156445直接将组件添加到项目中去,修改js/ckfinder/config.ascx将check权限的函数 进行按需修改,return表示有上传权限但ckfinder是一个试用版,可能会有些问题 Read More
目前没有使用 ckfinder首先下载http://pan.baidu.com/share/link?shareid=628000&uk=2837156445然后在使用ckeditor的页面ValidateRequest="false"在web.config的<system.web>节点下添加<httpRuntime requestValidationMode="2.0"/> Read More
using System.Security.Cryptography;using System.Text;string MD5(string data) { // This is one implementation of the abstract class MD5. Encoding ecd = Encoding.UTF8; byte[] bs = ecd.GetBytes(data); MD5 md5 = new MD5CryptoServiceProvider(); ... Read More
class MyOnTouchListener implements OnTouchListener{ @Override public boolean onTouch(View arg0, MotionEvent event) { //上是 1 左是0下是2右是3 float x = event.getX() / v.getWidth(); float y = event.getY() / v.getHeight(); // Direction will be [0,1,2,3... Read More