HELLO ALL !
I am new here and a Lerner,beginner. I need help from you all great mind in my project that i have a datatable dt. i retrieve data from sql to a data table named dt in vb.net. now i want to write result in notepad where user repeat on each header page and if user change then insert a line.
my format and code inside in notepad. please review.

You'll need some variables for the total count, the subtotal count and to detect whether the customer ID has changed.

I suggest you try first and reply when you encounter any further problems.

Suggestion:
Do it through SQL not from datagrid which could be more easier for you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.