DataBind时间中
If e.Row.RowType = DataControlRowType.DataRow Then
Dim link As New HyperLinklink = DirectCast(e.Row.Cells(0).Controls(0), HyperLink)
If link.Text = "TOTAL" Then
e.Row.BackColor = System.Drawing.Color.FromArgb(255, 153, 204)
e.Row.Font.Bold = True
End If
End If
本文介绍如何在编程中利用DataBind技术调整表格行的背景颜色和字体粗体,当特定条件(如行内文本为'TOTAL')满足时,实现对数据表格的视觉突出显示。
297

被折叠的 条评论
为什么被折叠?



