Exploring the Data Source Window

Download this episode

Download Video

Description

Thom Robbins shows off the new Data Source Configuration Wizard and how VS 2005 can get your datagrid connected faster than ever.  Notice the Object as a choice for data sources, good stuff!

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Gd
      Would be a nice idea to have a download option for the ScreenCasts too.
    • User profile image
      VOE
      What in the world does one have to do to get Updates to work when we click the floppy icon in a docked grid view? I used the help in VB.NET
      VS2005 Express Edition. I found three lines of code there but all I get is an exception error if I don't use the try catch methods.

      Me.Validate()  "is ok"
      Me.MytableBindingSource.EndEdit()  "is ok"
      Me.MytableTableAdapter.Update(Me.Mytable_TableDataSet.Mytable)

      the last one throws the exception.

      I appears there is no easy way to get a grid view to update.

      This has been my problem for most data applications. Most folks lead us to believe that is so easy to work. Sure I can make my own tables and get them bound as my data source. And I can go look at these sweet examples all day. But when it comes to doing something usefull like saving my own data it gets very grey.

         So! What I am asking is a short and sweet way to make updates using queries for a database. Perhaps I should get into a book on T-SQL.

      Update:  Okay! Now I find it will work if I am sure to use a numeric key.
      Wow, pretty cool. I built a grid view for my friend to put his class schedule in and whatever else he would like to such as teachers contact info and due dates. The first header is Day and all the rest are Period numbers.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.