hi,
i m trying this code but it show anything in result column kindly guide..
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
for (int n = 0; n < (dataGridView1.Rows.Count - 1); n++)
{
int s = Convert.ToInt32(dataGridView1.Rows[n].Cells[3].Value);
int s1 = Convert.ToInt32(dataGridView1.Rows[n].Cells[4].Value);
int s13 = s1 + s;
dataGridView1.Rows[n].Cells[5].Value = s13;
}

Shubham KumarRank #621 · 3.8K reputationPosted Apr 1, 2016, 10:15 PM EDT
Krishna Rajput SinghRank #605 · 4K reputationPosted Apr 1, 2016, 10:21 PM EDT
romasha ali98 reputationPosted Apr 2, 2016, 10:34 AM EDT
romasha ali98 reputationPosted Apr 2, 2016, 1:13 PM EDT