摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;//创建型-工厂模式、工厂规则注入、委托工厂namespace Chap2_2{ class Program { ... 阅读全文
posted @ 2015-10-28 15:52 Alfred.Xu 阅读(416) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace chap2_1_7{ class Program { static void Main(string[] ... 阅读全文
posted @ 2015-10-28 13:51 Alfred.Xu 阅读(197) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;u... 阅读全文
posted @ 2015-10-22 11:06 Alfred.Xu 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 过程:后台查询结果到DataTable,然后DataTable转为IList,然后逐行转为Dictionary。在一个方法中,用response.write()输出表格。然后在前端用调用该方法,使其输出页面代码//前端页面 //后台代码 strin... 阅读全文
posted @ 2015-10-20 15:35 Alfred.Xu 阅读(1120) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Web;using System.Drawing;using System.Drawing.Imaging;using System.Text;using System.Text.RegularExpressions;using ThoughtWo... 阅读全文
posted @ 2015-10-19 18:12 Alfred.Xu 阅读(7121) 评论(0) 推荐(0) 编辑
摘要: update share set wx_cont_url='http://weilian.creatrue.net/aspx/NewsInfo.aspx?id='+cast(share.id as varchar(50)) where wx_cont_url is nullselect top 1 ... 阅读全文
posted @ 2015-10-12 18:16 Alfred.Xu 阅读(264) 评论(0) 推荐(0) 编辑
摘要: share 表的字段id, title, image, content, wx_cont_url, jump_url, fx_suc, hits, add_date, class_id, faburen_id, reg_time, news_author, news_src(1)分页select *... 阅读全文
posted @ 2015-10-08 15:16 Alfred.Xu 阅读(253) 评论(0) 推荐(0) 编辑
摘要: select [type],sum(Data1) as sumNumber from [dbo].[DataTemp] where [type]='配料' group by [type] 阅读全文
posted @ 2015-09-24 12:15 Alfred.Xu 阅读(141) 评论(0) 推荐(0) 编辑
摘要: select a.*,CONVERT(varchar(10),SendTime,23) as shorttime,b.CodeNumber,b.GoodsName,b.GoodsGuiGe,b.GoodsDanWei from [dbo].[OrderDetail] a left join Good... 阅读全文
posted @ 2015-09-22 16:58 Alfred.Xu 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 本文来自:http://www.cnblogs.com/anmoon/archive/2010/08/22/1805670.htmlusing System;using System.Collections.Generic;using System.Text;using System.Net;usi... 阅读全文
posted @ 2015-09-22 11:10 Alfred.Xu 阅读(822) 评论(0) 推荐(0) 编辑