saeedhushmand
جمعه 24 شهریور 1391, 23:15 عصر
ارور زیر رو برای چیه
Object reference not set to an instance of an object.
string Control = lblControl.Text;
string Form = lblForm.Text;
(Application.OpenForms[Form].Controls[Control] as TextBox).Text = dgvHesab1.SelectedRows[0].Cells[0].Value.ToString();
Object reference not set to an instance of an object.
string Control = lblControl.Text;
string Form = lblForm.Text;
(Application.OpenForms[Form].Controls[Control] as TextBox).Text = dgvHesab1.SelectedRows[0].Cells[0].Value.ToString();