2013年11月8日

摘要: Repeater中:使用Container.ItemIndex获取行号1 2 3 行号: 4 5 如果要从1开始,则1 2 3 行号: 4 5 GirdView中:使用Container.DataItemInde获取行号,同理从1开始,也可以用1 2 3 4 5 6 7 8 9 阅读全文
posted @ 2013-11-08 14:48 壹飛臺 阅读(400) 评论(0) 推荐(0)
 
摘要: using System.Web.Script.Serialization;protected void Page_Load(object sender,EventArgs e){//构建json对象stringjsonstring="[ {posid:'611',city:'成都市'}, {posid:'621',city:'上海市'}, {posid:'631',city:'重庆市'}, {posid:'641',city:'海口市'} ]"; 阅读全文
posted @ 2013-11-08 14:21 壹飛臺 阅读(617) 评论(0) 推荐(0)