Click here to Skip to main content
13,052,870 members (79,177 online)
Click here to Skip to main content

Stats

46.9K views
28 bookmarked
Posted 8 Dec 2008

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

, 8 Dec 2008
This article demonstrate the Sorting mechanism for Nullable datatype when used with IList collection.
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

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 8 Dec 2008
Article Copyright 2008 by santosh poojari
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid