m_intCount = 最後一筆的int
Dim objli As HtmlGenericControl = e.Item.FindControl(“liItem”)
If e.Item.ItemIndex = m_intCount Then
objli.Attributes.Add(“class”, “Last”)
End If
Easy is power
m_intCount = 最後一筆的int
Dim objli As HtmlGenericControl = e.Item.FindControl(“liItem”)
If e.Item.ItemIndex = m_intCount Then
objli.Attributes.Add(“class”, “Last”)
End If