darma teja

darma teja

  • NA
  • 496
  • 337k

Problem with loops

Jul 22 2012 12:07 PM
Hi,

I have a different numbers in a datagridview.

Now my problem here is:

I want to write code into button click event. Once button is clicked i should show  message boxes. The no of message boxes depends on the numbers in datagrid view.

for example i have 50 numbers in datagridview, i should show 5 message boxes with each 10 numbers.

if i have 60 numbers in a datagridvies, i should  show 6 message boxes with each 10 numbers. 

Everything should happen in one button click.

Please give me ideas to do.


Darma





Answers (4)