WPF Forms over Data: 2 More Videos!

Published 24 July 08 06:39 PM

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!

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# a-foton » WPF Forms over Data: 2 More Videos! said on July 24, 2008 10:02 PM:

PingBack from http://blog.a-foton.ru/2008/07/wpf-forms-over-data-2-more-videos/

# radiolistener said on July 26, 2008 10:50 AM:

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.

# Beth Massi said on July 28, 2008 11:53 AM:

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

# radiolistener said on July 28, 2008 5:46 PM:

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.

# Beth Massi said on July 29, 2008 1:44 PM:

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

# Carolyn Burgess said on August 21, 2008 12:31 PM:

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?

# Beth Massi said on August 21, 2008 12:41 PM:

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

# Bhuven said on November 16, 2008 6:22 AM:

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

Leave a Comment

(required) 
(optional)
(required) 

About Beth Massi

Beth is an Online Content and Community Program Manager on the Visual Studio Community Team responsible for producing content for business application developers and driving community features onto MSDN Developer Centers (http://msdn.com/). She also produces content on her blog (http://blogs.msdn.com/bethmassi), Channel 9 (http://channel9.msdn.com/), and a variety of other developer sites. As a Visual Basic community champion and a long-time member of the Microsoft community she also helps with the San Francisco East Bay .NET user group and is a frequent speaker at various software development events. Before Microsoft, she was a Senior Architect at a health care software product company and a Microsoft Solutions Architect MVP. Over the last decade she has worked on distributed applications and frameworks, web and Windows-based applications using Microsoft development tools in a variety of businesses. She loves teaching, hiking, mountain biking, and modifying cars.
Page view tracker