Say, I need to calculate number of credit card payments, enter data in
1) Textbox1, enter total credit card balance
2) Textbox2, enter interest rate
3) Textbox3, enter number of payments
Click a Button to calculate and list number of payments, remaining balance, and
interest accrued display results in the datagridview.
Thanks

Shivanand ArurRank #920 · 2.3K reputationPosted Sep 29, 2012, 11:42 AM EDT
Hope this suggestion helps you.... If you have any doubt, the please feel free to ask...
Thank you.
meng24 reputationPosted Oct 2, 2012, 8:15 PM EDT
Satyapriya NayakRank #47 · 31.5K reputationPosted Oct 2, 2012, 8:22 PM EDT
Can you please share your code.
Thanks
meng24 reputationPosted Oct 3, 2012, 7:28 PM EDT
//enter for loop
for (int i = 1; i <= ccB;i++)
{
...
string[] row2 = new string[] { i.ToString(), string.Format("{0:C2}", ccB).ToString(), string.Format("{0:C2}",payA).ToString(), string.Format("{0:C2}", iAcc).ToString() };
// fill gridview with CC data
dataGridView1.Rows.Add(row2);
.....
}
}
Satyapriya NayakRank #47 · 31.5K reputationPosted Oct 5, 2012, 7:22 AM EDT
Shivanand ArurRank #920 · 2.3K reputationPosted Oct 10, 2012, 9:02 PM EDT
Thank You!!!