business object data source

P

parez

Hi

I have business object data source. and its is bound to a 3rd party
combo box which displays grids.

I have a property SomeDate which i want to display in the header as
"Some Date" or whatever.

Is this possible?
Can i add some attributes to my business object property to make it
so?

Please help.. and TIA

PS
 
N

Nicholas Paldino [.NET/C# MVP]

PS,

It's impossible to say without knowing what the third party combo box is
that you are using. You have to look at the object model for that combo box
and see how it allows for the configuring of the drop down.
 
M

Marc Gravell

Can i add some attributes to my business object property to make it

Well, DataGridView honours [DisplayName("My Column Header")], so give
that a whirl.

You'll need a "using System.ComponentModel;" declaration at the top,
too.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top