السلام عليكم و رحمة الله و بركاته,
أخي الكريم, جرب الكود التالي:
[HTML]Delete_frm.txt_Phone1.Text = If(DataGridView1.CurrentRow.Cells(4) Is Nothing OrElse DataGridView1.CurrentRow.Cells(4).Value Is Nothing, Delete_frm.txt_Phone1.Text="", DataGridView1.CurrentRow.Cells(4).Value.ToString)[/HTML]
أخي الكريم, جرب الكود التالي:
[HTML]Delete_frm.txt_Phone1.Text = If(DataGridView1.CurrentRow.Cells(4) Is Nothing OrElse DataGridView1.CurrentRow.Cells(4).Value Is Nothing, Delete_frm.txt_Phone1.Text="", DataGridView1.CurrentRow.Cells(4).Value.ToString)[/HTML]

