سلام دوستان وقتی میخام اطلاعات درون یک تکست باکس رو با کد زیر وارد دیتاگیرید ویو کنم:
DataGridViewRow row = new DataGridViewRow();// create cells
row.CreateCells(this.dataGridView1, roz.Text);
// add to data grid view
this.dataGridView1.Rows.Add(row);
با پیغام زیر مواجه میشم:
Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound برنامه نویس...
ما را در سایت برنامه نویس دنبال می کنید
برچسب : نویسنده : محمد رضا جوادیان programers بازدید : 160 تاريخ : يکشنبه 18 تير 1396 ساعت: 14:36