how to enter the string value in a particular cell of DataGrid in WPF
Hello Guys , 开发者_StackOverflow中文版 how to enter the string value in a particular cell of DataGrid in WPF . Thanks in advance.
we can do it this way
void OurGrdEditEnding(object sender, DataGridRowEditEndingEventArgs e)
{
DataRowView dRowView = e.Row.Item as DataRowView;
string sName = dRowView.Row["columnName"].ToString();
}
精彩评论