Does anyone know the best way to limit the number of rows returned when using typed TableAdapters? Options appear to be:
- Pass "top X" as a parameter (can't do this until we're on SQLS2008
- Issue a dynamic SQL statement:
set rowcount X
before calling my tableadapter method, thenset rowcount 0
aftwards. - Something else I haven't thought of :).
Many thanks in advance.