Click here to Skip to main content
14,921,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
for (int i = 0; i <= dataGridView1.CurrentCell.RowIndex; i++)
           {
               al.Add(dataGridView1[0, i].Value.ToString());

               foreach (string[] a1 in al)
               {
                   if (comboBox2.SelectedValue == a1)
                   {

                       int tota = (int)dataGridView1[5, i].Value;

                       TotalRupees += tota;

                   }
                   else
                   {

                   }
               }
           }
Posted
Comments
T Pat 21-Mar-13 8:03am
   
Can you be more specific what you want and where you are stuck?
Sandeep Mewara 21-Mar-13 13:41pm
   
Elaborate.
CHill60 21-Mar-13 20:24pm
   
And your question is????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900