|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
change backcolor of a particular rowhi,
i have a datagrid in which i wud like to highlight particular rows by either changing their backcolor or highlighting the text in those rows to bold... how can i do this? plz help.. thanx in advance harsh. You can use the ItemDataBound event, and when you find a row you want to
highlight (presumably based on some field data?), you can do e.Item.BackColor = Color.Red or whatever color you want. Show quoteHide quote "Harsh Vardhan Singh" <harshvardhansingh1***@yahoo.com> wrote in message news:eVcslosDFHA.936@TK2MSFTNGP12.phx.gbl... > hi, > i have a datagrid in which i wud like to highlight particular rows by > either changing their backcolor or highlighting the text in those rows to > bold... how can i do this? > > plz help.. > > thanx in advance > harsh. >
Problem with datagrid update
How to refresh a parent grid? DataTable consisting of 2 other DataTables Datagrid/SQL & passing values Sorting underlying data Dynamically adding DataGrid columns datagrid(master) with a datalist(detail) Hyperlink Column Event Handler... Datagrid Footer now showing up correctly Converting SQL Server "bit" field to a CLR boolean-- has to be a better way |
|||||||||||||||||||||||