摘要:
//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('|')[... 阅读全文
摘要:
一个之前少用到的属性,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 阅读全文
摘要:
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... 阅读全文