Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Gridview Sorting using attribute [Source Code]

, 30 Aug 2013
Sorting GridView using attribute property of GridView
demo.zip
demo of my project
App_Code
App_Data
database
database.bak
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.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
/// Summary Descriptionfor Property
/// </summary>
public class Property
{
	public Property()
	{

    }
            private int Insert_id;
            private string Rewards_Type;
            private string description;
            private string Alias;
            private Boolean Prescribed;
            private Boolean nonprescribed;
            private string Points;
            private string Points_Amount;
            private string Conversion_Point;
            private string Conversion_amount;
    public int Insert_id1
    {
        get { return Insert_id; }
        set { Insert_id = value; }
    }
    public string Rewards_Type1
    {
        get { return Rewards_Type; }
        set { Rewards_Type = value; }
    }
    public string description1
    {
        get { return description; }
        set { description= value; }
    }
    public string Alias1
    {
        get { return Alias; }
        set { Alias= value; }
    }
    public Boolean Prescribed1
    {
        get { return Prescribed; }
        set {Prescribed = value; }
    }
    public Boolean nonprescribed1
    {
        get { return nonprescribed; }
        set { nonprescribed = value; }
    }
    public string Points1
    {
        get { return Points; }
        set { Points = value; }
    }
    public string Points_Amount1
    {
        get { return Points_Amount; }
        set { Points_Amount = value; }
    }
    public string Conversion_Point1
    {
        get { return Conversion_Point; }
        set { Conversion_Point = value; }
    }
    public string Conversion_amount1
    {
        get { return Conversion_amount; }
        set { Conversion_amount = value; }
    }

	}

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

AJD-salute
Web Developer
India India
No Biography provided

| Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 31 Aug 2013
Article Copyright 2013 by AJD-salute
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid