开发者

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();
 }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜