silverlight中如何获取DataGrid中的值
private void dg_SelectionChanged(object sender, SelectionChangedEventArgs e) {
//获取选定单元格列
Int32 i = dg.CurrentColumn.DisplayIndex;
//取值 string sColumnValue = ((TextBlock)this.dg.Columns[i].GetCellContent(this.dg.SelectedItem)).Text.Trim();
}