foreach (DataGridViewRow row in dataGridView1.Rows) {currQty += row.Cells["dbbname"].Value; }
How to separate it with comma if data is more than 1 ?
example result:
db1,db2,db3
but if only one it will show
result:
db1