Fork me on GitHub
摘要: //01|02|03| ====> (01,02,03) string s = "("; for (int i = 0; i < countryid.Split('|').Length; i++) { if (i > 0 && i < countryid.Split('|').Length-1) { s += ","; } s +=countryid.Split('|')[... 阅读全文
posted @ 2013-05-09 18:03 思考的大腿 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 一个之前少用到的属性,Container.ItemIndex+1表示第一行~<ul class="in_d_main" style="height:147px"> <asp:Repeater ID="repDFSX" runat="server"> <ItemTemplate> <li class="<%# (Container.ItemIndex+1)==1?"in_fist":"in_lis2" %>&quo 阅读全文
posted @ 2013-05-09 15:23 思考的大腿 阅读(976) 评论(0) 推荐(0) 编辑
摘要: declare @NewsTitle nvarchar(255)declare mycursor cursor forselect title FROM lc_Article where t_id=1open mycursorfetch next from mycursor into @NewsTitleWhile(@@Fetch_Status = 0)begin INSERT INTO tb_News (NewsTitle) VALUES(@NewsTitle) fetch next from mycursor into @NewsTitle endclose mycur... 阅读全文
posted @ 2013-05-09 10:44 思考的大腿 阅读(364) 评论(0) 推荐(0) 编辑