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