Jaa


Object Binding with Visual Studio 2005

One of the most powerful features of Visual Studio 2005 is the new binding features. I know your reading this and saying – I would never do that because I write objects. Well, if you haven’t seen it. Visual Studio 2005 provides the ability to do bind to not only databases but Web Services and business objects. In case you were wondering – here is a short example of how it can be done.

 

<<View Object Binding with Visual Studio 2005>>

Comments

  • Anonymous
    September 16, 2005
    Thom,

    Not sure what I'm missing here, but didn't you just bind the grid to a DataSet? What's the big deal?

    Hope you understand, I'm not trying to be dismissive - just trying to see what there is to learn here.

    Thanks - Daniel
  • Anonymous
    September 21, 2005
    No problem - I think it's a great question. I think it's important to understand that I am really binding to a Web Service. Which is returning a Web Service. VS 2005 provides some great abilities to bind to these types of objects that you can't do with VS 2003.

    I am going to be putting together some other videos show this is a bit more.
  • Anonymous
    September 29, 2005
    All I have a object that contains another object.

    For example my Provider object contains a clinic object.

    I added the Provider object as a datasource in 2005. It shows all of
    the properties including the clinic object (expandable). When I drag
    over the Provider object it creates a DataGridView with all of the
    Provider properties. Including just a column for Clinic.

    I have tried to edit the column of Clinic to something like
    Clinic.Address with no luck.

    What I would like to do is display the pertinant information for
    Provider along with the 5 or so columns I need for Clinic in 1
    DataGridView.

    Is it possible? If so how?

    Please let me know.

    Thanks,

    Jeff V.