Hi
To loop through a DataGridView, try something like this:
Code Snippet
foreachDataGridViewRow dgr in this.dataGridView1.Rows)
{
if (dgr.Cells[0].Value != null)
{
if (dgr.Cells[0].Value.ToString() != "")
{
}
}
}
Hi
To loop through a DataGridView, try something like this:
Code Snippet
foreachDataGridViewRow dgr in this.dataGridView1.Rows)
{
if (dgr.Cells[0].Value != null)
{
if (dgr.Cells[0].Value.ToString() != "")
{
}
}
}
You can use google to search for other answers