摘要: 添加引用,安装Json.NETusing Newtonsoft.Json.Linq; //解析JSON,目的前台的上架结果 //main 是前台传过来的,是Json JObject obj = JObject.Parse(main); ... 阅读全文
posted @ 2014-10-15 10:46 团长丶Joe 阅读(327) 评论(0) 推荐(0) 编辑
摘要: $('#ReviewGrid').datagrid('clearSelections'); 阅读全文
posted @ 2014-10-11 09:56 团长丶Joe 阅读(82) 评论(0) 推荐(0) 编辑
摘要: /// /// 执行多个lanmada表达式查询 /// /// 类型 /// 每页条数 /// 当前页 /// 数据条数 /// lanbda表达式集合 /// p... 阅读全文
posted @ 2014-10-09 11:46 团长丶Joe 阅读(867) 评论(0) 推荐(0) 编辑
摘要: delete 表名 where 主键 in (select max(主键) as maxId from 表名 where add_date = '2013-11-11' group by ticket_id having count(*) > 1) 阅读全文
posted @ 2014-08-12 20:53 团长丶Joe 阅读(114) 评论(0) 推荐(0) 编辑
摘要: //此方法写在数据绑定里面 #region 分页前方法 //分页前方法 Pager(); #endregion#region 分页前的加载 /// ... 阅读全文
posted @ 2014-06-17 10:47 团长丶Joe 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1.将DataSet对象序列化到二进制文件2.将二进制文件序列化到DataSet对象3.将DataSet中的数据写到XML文件4.将数据XML文件读到DataSet对象5.将DataSet中的数据及架构写到XML文件6.将数据及架构XML文件读到DataSet对象7.将DataSet中的数据及架构分... 阅读全文
posted @ 2014-05-24 09:14 团长丶Joe 阅读(277) 评论(0) 推荐(0) 编辑
摘要: //把秒转换成分钟 /// /// 把秒转换成分钟 /// /// public static int SecondToMinute(int Second) { // / 换成 * 号... 阅读全文
posted @ 2014-05-10 15:38 团长丶Joe 阅读(116) 评论(0) 推荐(0) 编辑
摘要: C#控制台测试 class Program { static void Main(string[] args) { decimal rmb = Convert.ToDecimal(Console.ReadLine()); ... 阅读全文
posted @ 2014-05-10 14:47 团长丶Joe 阅读(111) 评论(0) 推荐(0) 编辑
摘要: using System.Security.Cryptography; //用的类 /// /// DES加密/解密类。 /// public class DESEncrypt { public DESEncrypt() { ... 阅读全文
posted @ 2014-05-10 14:03 团长丶Joe 阅读(108) 评论(0) 推荐(0) 编辑
摘要: if OBJECT_ID('temp_search_table') is not null drop table temp_search_tablegocreate table temp_search_table (table_name nvarchar(100),column_name nva... 阅读全文
posted @ 2014-05-10 13:33 团长丶Joe 阅读(603) 评论(0) 推荐(0) 编辑