Limit Rows in DataTable
Brady Kelly <[email protected]> Tue, 29 Apr 2008 11:12:46 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
I have an application under test, where I iteratively reset an export batch and then run the export for different configurations. For major testing, I wish to test each config over the full monty, 70k documents exported, but for dev testing I like to keep the rows in each section down to 500. Last night in the interests of not breaking code, I was popping 'TOP 500' into each query, but I'm sure there is a better way. Any suggestions will be appreciated. I'm using a SqlDataAdapter to fill my DataTable objects. =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com