PC Review


Reply
Thread Tools Rate Thread

DataGridView missing "OnItemBound" event

 
 
=?Utf-8?B?TWFyaXVzSQ==?=
Guest
Posts: n/a
 
      26th Aug 2005
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.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q2FsdmluIEtE?=
Guest
Posts: n/a
 
      29th Aug 2005
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.

"MariusI" wrote:

> 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.

 
Reply With Quote
 
=?Utf-8?B?TWFyaXVzSQ==?=
Guest
Posts: n/a
 
      29th Aug 2005
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.

"Calvin KD" wrote:

> 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.
>
> "MariusI" wrote:
>
> > 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Program event" for Windows is missing - cannot set sound schemes =?Utf-8?B?UmF2ZW5IYWlyZWRHYWw=?= Windows XP Performance 0 10th Jul 2007 01:34 AM
How to catch "new-row-editing-cancelled" event in DataGridView (isthere any similar event?) Paul Jones Microsoft Dot NET Framework Forms 2 25th Jul 2006 02:29 PM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son Microsoft Excel Programming 2 5th Mar 2006 12:20 PM
"All Day Event" missing Time Zone information =?Utf-8?B?Smluc2VuZw==?= Microsoft Outlook Calendar 0 31st Oct 2005 08:52 PM
Camera event - program missing from "Choose Application" window =?Utf-8?B?TWVsX1A=?= Windows XP Hardware 0 18th Jul 2005 03:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:48 AM.