my code is here
{
if (dgvItm.Rows[e.RowIndex].Cells[e.ColumnIndex].Value != null)
{
dgvItm.Rows.Add();
dgvItm.Rows[dgvItm.Rows.Count].Cells[0].Value = dgvItm.Rows.Count;
}
}
dgvItm.Rows[dgvItm.Rows.Count].Cells[0].Value = dgvItm.Rows.Count;
}
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 6, 2011, 11:50 PM EST
You'll therefore need to carry out this operation somewhere else.
Suthish NairRank #92 · 22.8K reputationPosted Mar 7, 2011, 9:49 AM EST