Click here to Skip to main content
12,356,350 members (68,761 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

limit the records in dataset

, 15 Nov 2012 CPOL
DataView dataView = new DataView(dataTable);dataView.RowFilter = String.Format("EventDate > '{0}'", DateTime.Now);dataView.Sort = "EventDate";dataTable = dataView.ToTable();while (dataTable.Rows.Count > _rowLimit){ dataTable =...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 16-Nov-12 3:23 Available digimanus
added comment from solution 2
1 No 16-Nov-12 1:25 Available Ram424

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160621.1 | Last Updated 16 Nov 2012
Article Copyright 2012 by Ram424
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid