贵梅之爱

导航

随笔分类 -  C# 集合

js 更改head的title
摘要:使用document.title = "hello";不能使用 $("title").text("dd");或者 $("title").html("dd"); 阅读全文

posted @ 2015-11-18 20:43 贵梅之爱 阅读(1342) 评论(0) 推荐(0)

json 序列化
摘要:后台:反序列化 JsonConvert.DeserializeObject>( dicobjec["props"].ToString() )序列化为json对象 var result = new { result = "1"; }; return JsonConvert.SerializeObjec... 阅读全文

posted @ 2014-12-03 15:51 贵梅之爱 阅读(215) 评论(0) 推荐(0)

c# for循环获取dictionary的键和值
摘要:protected void Button1_Click ( object sender, EventArgs e ) { Dictionary DicTest = new Dictionary(); DicTest.Add( "a", "1" ); DicTest.Add( "b", "2" );... 阅读全文

posted @ 2014-10-08 11:51 贵梅之爱 阅读(6490) 评论(4) 推荐(1)