(18-04-17, 03:54 PM)جميل علي كتب :PHP كود :
DataGridView1.Rows.Add()
Dim RO = DataGridView1.Rows.Count - 1
DataGridView1.Rows(RO).Cells(0).Value = TextBox1.Text
DataGridView1.Rows(RO).Cells(1).Value = TextBox2.Text
اتمنى ان اكون فهمت طلبك بشكل صحيح
بالتوفيق ان شكرا اخي على الرد جربت الكود ولم يعمل معي طلعتلي مسج الخطأ هده :
No row can be added to a DataGridView control that does not have columns. Columns must be added first.
(18-04-17, 03:54 PM)جميل علي كتب :PHP كود :
DataGridView1.Rows.Add()
Dim RO = DataGridView1.Rows.Count - 1
DataGridView1.Rows(RO).Cells(0).Value = TextBox1.Text
DataGridView1.Rows(RO).Cells(1).Value = TextBox2.Text
إقتباس :شكرا اخي على الرد جربت الكود ولم يعمل معي طلعتلي مسج الخطأ هده :
No row can be added to a DataGridView control that does not have columns. Columns must be added first.
