DataGridView missing "OnItemBound" event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, i want to set separate styles on the DataGridViewRows when i bind a
datasource to a datagridview. Basically some rows should be displayed with a
bold font while other should be displayed using the default formatting. The
problem is that i can't seem to find an event which enables me to access each
row during binding.
 
Are you saying you can't see the OnItemDataBound event of the datagrid in
your HTML view (as suggested by your subject line)? If you can see it, that's
where I would write the code to apply different formatting to individual rows.
Hope that helps.
 
Actually i'm writing a win32 client app using the new DataGridView (2.0)
class. I'm looking for an event similar to the ASP.NET OnItemDataBound event,
which enables me to change individual row formatting during binding.
 
Back
Top