highlighting the row of the access database
-
my question is that is there any method in C# by which we can highlight the row of access database after certain action ?? if not then either we can highlight the row in datagrid ?? plzzzzz reply soon
Look for a background color property associated with the row in your datagrid. I haven't used it yet, but most objects include that property. If it's there, you can change it in your app.
Will Rogers never met me.
-
my question is that is there any method in C# by which we can highlight the row of access database after certain action ?? if not then either we can highlight the row in datagrid ?? plzzzzz reply soon
there are several ways to control the formatting of a cell, a row, a column, in a DataGridView. Look for DefaultCellStyle in each of those, and/or use the DataGridView.CellFormatting event. Warning: background coloring may malfunction on empty cells; you might read my CP Vanity[^] article. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.