int total = 0;
foreach (DataGridViewRow row1 in dgv1.Rows)
foreach (DataGridViewRow row2 in dgv2.Rows)
if (row1.Index == row2.Index)
total += (int)row1.Cells.Value * (int)row2.Cells.Value;
//when code leaves these two loops (so comes here), the "total" local variable holds the result
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...