3
Answers

How to separate it with comma if data is more than 1 ?

Photo of Anuradha sb

Anuradha sb

2y
598
1
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

Answers (3)

Next Recommended Forum