Wpf toolkit datagrid rows

Jun 12, 2009 at 2:21 PM

Hi I need to add rows to wpf toolkit datagrid at runtime... the following is the code bit that I tried

 

 

 

<font size="2" color="#0000ff"><font size="2" color="#0000ff">

foreach

</font></font><font size="2" color="#0000ff">

 

</font>

(DataRowView row in PartsUsedDataGrid.SelectedItems)

{

dtSelectedParts.Rows.Add(row);

<font size="2">

 

</font>

}

But the problem I am facing is,

its adding empty rows without any values... can any one please help me in this regard?