what is the best way to read millions of record from sql server database.i have tried data set but still the performance is not so good.

Please take a look at this thread.

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.