private void button1_Click(object sender, EventArgs e) { for (int a = int.Parse(textBox1.Text); a < int.Parse(textBox2.Text); a = a + 1) { int row=0; dataGridView1.Rows.Add(); row=dataGridView1.Rows.Count -2; dataGridView1["color", row].Value = textBox3.Text; dataGridView1["Size", row].Value = a; //[enter image description here][1]dataGridView1["Barcode", row].Value = dt.ToString(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)