WPF Forms over Data: 2 More Videos!

WPF Forms over Data: 2 More Videos!

  • Comments 8

I couldn't wait for the content pages to prop onto MSDN to tell you that I just uploaded two more WPF Forms over Data videos and code samples onto Code Gallery: http://code.msdn.microsoft.com/wpfdatavideos, videos 3 and 4.

Video #3 shows how to create a dropdown combobox (pick-list) that pulls data from a lookup table in a database. #4 shows a technique for customizing the display of validation messages on controls (for more details on that you can read this post too.)

Enjoy!

Leave a Comment
  • Please add 3 and 1 and type the answer here:
  • Post
  • PingBack from http://blog.a-foton.ru/2008/07/wpf-forms-over-data-2-more-videos/

  • Hi Beth,

    I'm watching these videos and they are explaining what to do, but it is so alien to me.  It's like programming in C.

    In any event, it is helping me on the learning curve with XAML.  I've started working on this with Silverlight programming.

    On a side note, your properties window in the ide, seems a lot better than mine, it has the search feature.  Is this an add-on, from sp1 beta, or the next version of VS?

    Many Thanks for providing this service!

    John.

  • Hi John,

    Those videos are done with Visual Studio 2008 which has the search feature (and a better overall designer than the 2005 extensions).

    HTH,

    -B

  • Hi Beth,

    I've been working in 2008 for a few months, I've never see this feature on the properties window.  Just made a test project now, and it's just not there.

    You sure I don't have to download something or other?

    Any insights would be appreciated.

    Thanks,

    John.

  • Hi John,

    Here's the help topic: http://msdn.microsoft.com/en-us/library/bb514528.aspx

    Relevant section:

    "To search for a property, start typing the name of the property in the Search box at the top of the Properties window. The Properties window shows the properties that match your search as you type. Click Clear to remove the search and display all the selected object's properties. "

    In SP1 they added a way to sort alphabetically as well, but the search is in VS08 RTM.

    HTH,

    -B

  • Hi Beth,

      I've been watching the "Forms Over Data" video series and am following along with Visual Basic 2008 Express Edition but I've found that the query builder is not working as the video demonstrates.  Specifically I am trying to use the filer where, in the video, you are filtering the table based on Like @LastName + '%' .  In your demo, when you test the query, another box opens to enter the parameter.  No such box opens in mine.  The difference may be that you are using a SQL database and I'm using an Access Database.  Is the statement going to be different for Access?  I've used many variations of the LIKE clause, but nothing seems to work and no Query Parameters box ever opens.  Additionally, in the SQL statement, once you've either clicked outside the filter box, single quotes are automatically added to the @LastName part.  Have any ideas?

  • Hi Carolyn,

    Yes the designer will work differently for Access. You need to provide the correct SELECT syntax for that database. I'm not an Access expert but to specify parameters in Access you need to indicate a question mark (?) and then send the parameters in the correct order. The designer should do that for you though. I'd take a look at the Access dev center for help with syntax: http://office.microsoft.com/en-us/access/HA102564021033.aspx

    HTH,

    -B

  • Hi Beth:

    I am new to C# & VS. Have VS2008 Prof Ed

    Do you have any tutorial on creating a tree menu (explorer style) or code?

    Will apprecaite some help

Page 1 of 1 (8 items)