question about developerfusion.com

asp.net United States
  • 17 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

  • 17 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.

“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila” - Mitch Ratcliffe