I\'d like to use a LinqDataSource control on a page and limit the amount of records returned. I know if I use code behind I could do something like this:
LinqDataSource
You can put event Selecting of LinqDataSource:
protected void ldsLastEntries_Selecting(object sender, LinqDataSourceSelectEventArgs e) { e.Arguments.MaximumRows = 10; }