摘要: http://blog.csdn.net/yanzhibo/article/details/21485343 阅读全文
posted @ 2014-09-19 16:31 一个人的风 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 一。select * from(select ID,ShopClient_ID,Name,Icon,HitCount,Class1_ID,row_number() over(partition by Class1_ID order by HitCount desc)as rowindex from ... 阅读全文
posted @ 2014-06-26 13:51 一个人的风 阅读(982) 评论(0) 推荐(0) 编辑
摘要: http://wenku.baidu.com/link?url=7ZBtIEQr6iAdQrpx2O7Z6s-gPwatltWsPwWY74qyBiJYiyZI5aGQ7wJNsnt5IRicb2d8C0upAnoqtXTOBMyrqnRwlscx9-o5sYmz6namGJW 阅读全文
posted @ 2014-06-23 15:21 一个人的风 阅读(130) 评论(0) 推荐(0) 编辑
摘要: --=================行专列=======================--if object_id('tb')is not null drop table tb--go--create table tb(姓名 varchar(10),课程 varchar(10),分数 int)-... 阅读全文
posted @ 2014-05-18 16:57 一个人的风 阅读(147) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/fmx121586/article/details/8025268 阅读全文
posted @ 2014-02-24 15:52 一个人的风 阅读(219) 评论(0) 推荐(0) 编辑
摘要: private static string GetTasksString(int TaskId, DataTable dt) { DataRow[] rows = dt.Select("ParentID=" + TaskId.ToString()); if (rows.Length == 0) return string.Empty; ; StringBuilder str = new StringBuilder(); foreach (DataRow row in rows) ... 阅读全文
posted @ 2014-02-24 15:48 一个人的风 阅读(308) 评论(0) 推荐(0) 编辑
摘要: /// /// Base64加密,解密方法/// /// 输入字符串/// true-加密,false-解密static public string base64(string s, bool c){ if (c) {returnSystem.Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(s)); } else {returnSystem.Text.Encoding.Default.GetString(System.Convert.FromBase64String(s));}}注:在进行解码时,需要输入参数s为base 阅读全文
posted @ 2014-02-20 11:35 一个人的风 阅读(243) 评论(0) 推荐(0) 编辑
摘要: WEB打印控件Lodop(V6.x)使用说明及样例:http://www.hbsszx.com/lodop/PrintSampIndex.html 阅读全文
posted @ 2014-02-11 17:58 一个人的风 阅读(352) 评论(1) 推荐(0) 编辑
摘要: // JavaScript Document// 加入收藏 加入收藏function AddFavorite(sURL, sTitle){ try { window.external.addFavorite(sURL, sTitle); } catch (e) { try { window.sidebar.addPanel(sTitle, sURL, ""); } catch (e) { alert("加入收藏失败,请使用Ctrl+D进... 阅读全文
posted @ 2014-01-15 10:22 一个人的风 阅读(151) 评论(0) 推荐(0) 编辑
摘要: //后台string jsonArray ="";//此处json对象的属性必须和类库一样JavaScriptSerializer json = new JavaScriptSerializer();List list = new List();payParameter user = json.Deserialize(jsonArray);//类库 [Serializable] public class payParameter { public string TotalItems { get; set; } public SaveReconciliationDtoList 阅读全文
posted @ 2014-01-06 19:26 一个人的风 阅读(189) 评论(0) 推荐(0) 编辑