question about developerfusion.com

asp.net United States
  • 19 years ago

    can i ask if your firstpage [Latest Tutorials] is done with the asp.net datalist ????? to show the latest Tutorials... if it is ,is there a way to just show 10 [Latest Tutorials] from a db with more then 10 items ,,,like the paging in datagrid ????


    //cmekki

  • 19 years ago

    that page does uses DataList control, which calls a Stored Procedure, which uses an SQL statement to limit the number of records:


    Code:
    SELECT TOP 10 title,id,description FROM items ORDER BY updated DESC

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.” - Donald Knuth