Last post Dec 27, 2007 10:59 PM by ashmetry
Dec 25, 2007 07:19 AM|jackyu|LINK
currently total items can be show up in the search result is limit to 50
how do i change to a big number,let the AdsGrid show more than 4 pages
Dec 26, 2007 05:46 AM|neerajkrshukla|LINK
not able to understand your issue... can you please explain what you are trying to do?
Dec 26, 2007 06:18 AM|jackyu|LINK
same as this post:
I just delete the
Dec 26, 2007 06:31 AM|jackyu|LINK
SET ROWCOUNT @LimitResultCount
things are good,but not sure if this is the best solution
Dec 27, 2007 08:05 AM|Vlatiska|LINK
Another post show how to resolve this problem. Visit
http://forums.asp.net/p/1073906/1576473.aspx#1576473 and let me know if your problem are resolve with that.
Dec 27, 2007 04:26 PM|darkknight187|LINK
You only have two options with that, delete the function entirely, or change the 50 to a higher number.
Personally I have left the function where if no search parameters are entered it just pulls up all the ads.
This makes it useable for search engines, and I changed the 50 to 1000 so that it won't put so much presure on the database when all 100,000 ads are pulled up.
If you would rather delete the function you have to delete the line in the stored procedure as mentioned above.
And in the object datasource, at the bottom of the search page.
And in the BLL/Ads.vb in the get ads section towards the top,
I think it was just those three modifications, but it's a lot easier to just change the 50 to a higher number.
Dec 27, 2007 10:59 PM|ashmetry|LINK
This is what i did, If you dont want to limit the result, simply dont pass anything or pass any number thats <= 0