摘要: asp:Repeater ID="rptsells" runat="server" ItemTemplate li class='%# IIf(Container.ItemIndex=2,"topThree","topFour") %'em %#Container.ItemIndex + 1%/ema href="%#IIf(Eval("sourceType")=1, "sell_view.aspx?id=" & Eval("ID"), "rent_view.aspx?id=" & Eval("ID"))%" target="_blank"%#IIf( 阅读全文
posted @ 2010-12-23 17:47 lice 阅读(846) 评论(0) 推荐(0) 编辑
摘要: Dim dtsells As DataTable Dim dtrents As DataTable dtsells = DAL.SellsDAL.Getsells dtrents = DAL.RentsDAL.Getrents dtrents.Merge(dtsells) Dim dtNew As DataTable = dtrents.Clone//克隆一个table Dim drArr As DataRow() = dtrents.Select("", "DatePublished desc") // 获取datarow,并排序 For i As Integer = 0 To drArr 阅读全文
posted @ 2010-12-23 17:39 lice 阅读(1282) 评论(0) 推荐(0) 编辑