Welcome to WindowsClient.net | My Blog | Sign in | Join

Windows Client Videos

How Do I: Create Lookup Combobox in WPF

Beth Massi shows how to create a data entry form that binds data from a lookup table in a database to create a pick-list of values in a WPF ComboBox using Visual Studio 2008.

By: Beth Massi

Posted: Aug 07 2008, 03:07 PM by jytylr | with 1 comment(s)
Filed under:

Comments

Thundar Viking said:

Very nice and informative video. Instead of using three textblock controls, one could use a multibinding with StringFormat set proper:

<ComboBox>

<ItemsControl.ItemTemplate>

<TextBlock>

<TextBlock.Text>

<MultiBinding StringFormat="{0},{1}">

<MultiBinding.Bindings>

<Binding Path="LastName" />

<Binding Path="FirstName" />

...

# June 27, 2010 5:45 PM