business object data source

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • parez

    business object data source

    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
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: business object data source

    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.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "parez" <psawant@gmail. comwrote in message
    news:ab640f49-4fe1-4e3b-8908-0301c82bb789@60 g2000hsy.google groups.com...
    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

    Comment

    • Marc Gravell

      #3
      Re: business object data source

      Can i add some attributes to my business object property to make it
      so?
      Well, DataGridView honours [DisplayName("My Column Header")], so give
      that a whirl.

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

      Marc

      Comment

      Working...