string str = (dgRecord.Columns[0].GetCellContent(row) as TextBlock).Text; Student student = new Student(); student.Tbox.Text = str; DialogResult = true;
public TextBox Tbox = new TextBox();
ListName frm = new ListName(); frm.ShowDialog(); if (frm.DialogResult.HasValue && frm.DialogResult.Value) { txtID.Text = Tbox.Text; txtID.Focus(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)