E
Ersin Gençtürk
I can't find a expression for table views did i missed something ?
SELECT TOP 20
*
FROM TBL_TABLENAMEHERE
Will do what you asked.
Yunus Emre ALPÖZEN said:It never works !!! DataTable.Select() works as a where clause...
I assume SourceTable contains whole data and u don't need to sort it.
DataTable outputTable = SourceTable.Clone();
for(int i=0;i<20;i++)
outputTable.ImportRow(SourceTable.Rows);
outputTable contains top 20 records.
--
Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET
BillGatesFan said:dr() = datatable.select ("select Top 20 from tblorders")
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.