Skip to content

Printing

Srinivas Reddy

Asked Mar 23, 2011, 10:54 PM EDT1 answer
Share
LinkedInX
hi.....
i am printing list of 1000 records i wont give break point for each 24 records


can any one help plzzzzzzzzzzzz.....
using C#

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Abhimanyu K Vatsa
    0
    surely you can do this by using 

    + Environment.NewLine +

    inside your logic. maybe you will be using look then

    for(int i=1; i<=count; i++)
    {
    //print your data here

    if(i/24==0)
    {
    Console.Write(Environment.NewLine); //or use your own logic
    }
    }

    0