摘要:
旧版ie下json最后一项是不允许有逗号的为了更好的兼容各个浏览器,json最后的逗号最好不加 阅读全文
posted @ 2014-12-19 10:20
梦幻仙境的精灵
阅读(277)
评论(0)
推荐(0)
摘要:
#region RSA public static byte[] GetBytes(String num) { BigInteger n = new BigInteger(num, 10); String s =... 阅读全文
posted @ 2014-12-19 10:17
梦幻仙境的精灵
阅读(169)
评论(0)
推荐(0)
摘要:
#region 3DES /// /// 3DES加密 /// /// 需加密的字符串 /// 密匙 /// public static string DES3Encrypt(string str... 阅读全文
posted @ 2014-12-19 10:16
梦幻仙境的精灵
阅读(1820)
评论(0)
推荐(0)
摘要:
/// /// Xml序列化与反序列化 /// public class XmlUtil { public static string GetRoot(string xml) { if (xml == null) ... 阅读全文
posted @ 2014-12-19 10:14
梦幻仙境的精灵
阅读(554)
评论(1)
推荐(0)
摘要:
1、 style="word-break: break-all" 自动回车2、图片链接 3、@using(Html.BeginForm("Upload","File",FormMethod.Post,new {enctype="multipart/form-data"})){@Html.TextBo... 阅读全文
posted @ 2014-12-19 10:07
梦幻仙境的精灵
阅读(125)
评论(0)
推荐(0)
摘要:
--- 删除原表数据,并重置自增列truncate table tablename --truncate方式也可以重置自增字段--重置表的自增字段,保留数据DBCC CHECKIDENT (tablename,reseed,0) -- 设置允许显式插入自增列SET IDENTITY_INSERT ... 阅读全文
posted @ 2014-12-19 09:56
梦幻仙境的精灵
阅读(345)
评论(0)
推荐(0)
浙公网安备 33010602011771号