Example of using CellTemplate/CellEditTempl
ate in DataGrid (w/ComboBox).
<UserControl x:Class="Silverlight.Page"
xmlns="
http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="
http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:data="clr-namespace:
System.Win
dows.Contr
ols;assemb
ly=System.
Windows.Co
ntrols.Dat
a"
xmlns:src="clr-namespace:S
ilverlight
"
Width="400" Height="300">
<UserControl.Resources>
<src:CityProvider x:Key="cityProvider"/>
</UserControl.Resources>
<Grid x:Name="LayoutRoot" Background="White">
<data:DataGrid x:Name="dataGrid" AutoGenerateColumns="False
">
<data:DataGrid.Columns>
<data:DataGridTextColumn Header="Street Name" Binding="{Binding StreetName}"/>
<data:DataGridTemplateColum
n Header="City">
<data:DataGridTemplateColum
n.CellTemp
late>
<DataTemplate>
<TextBlock Text="{Binding CityInfo.CityName}" />
</DataTemplate>
</data:DataGridTemplateColu
mn.CellTem
plate>
<data:DataGridTemplateColum
n.CellEdit
ingTemplat
e>
<DataTemplate>
<ComboBox SelectedItem="{Binding CityInfo, Mode=TwoWay}"
ItemsSource="{Binding CityList, Source={StaticResource cityProvider}}"
DisplayMemberPath="CityNam
e"
/>
</DataTemplate>
</data:DataGridTemplateColu
mn.CellEdi
tingTempla
te>
</data:DataGridTemplateColu
mn>
<data:DataGridTextColumn Header="Zip Code" Binding="{Binding ZipCode}"/>
</data:DataGrid.Columns>
</data:DataGrid>
</Grid>
</UserControl>
Above was from
http://weblogs.asp.net/manishdalal/archive/2008/09/28/combobox-in-datagrid.aspxHTH
Ashok