Click here to Skip to main content
11,496,146 members (524 online)
Click here to Skip to main content
Add your own
alternative version

GridView:Sorting & Paging Using Generics And Nullable Datatype Function Of C# GetValueOrDefault()

, 8 Dec 2008 CPOL 39.7K 643 28
This article demonstrate the Sorting mechanism for Nullable datatype when used with IList collection.
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
Sorting_And_Paging.zip
Sorting And Paging
App_Code
Image
Asc.gif
Desc.gif
Thumbs.db
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Utility
/// </summary>
namespace SortingAndPaging
{

public class Utility
{
    public enum SortOrder
    {
        Asc,
        Desc

    }
}

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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

Share

About the Author

santosh poojari
Technical Lead
India India
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!
www.santoshpoojari.blogspot.com

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 8 Dec 2008
Article Copyright 2008 by santosh poojari
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid