Results 1 to 1 of 1

Thread: Change GridView SortLink Color in ASP.NET 4.0

  1. #1

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Cebu, PH

    Change GridView SortLink Color in ASP.NET 4.0

    Here's a simple application that demonstrates customizing GridView header sort link.

    1. Download and install Northwind database from codeplex.
    2. Open the project and change the web.config connection string values to point your sql server and Northwind database.

    Temporary connection string defined in web.config.
    xml Code:
    1. <add name="ConnectionString" connectionString="Data Source=yourdatasource;Initial Catalog=northwind;user=youruser;password=yourpassword;"
    2.          providerName="System.Data.SqlClient"/>

    Note: Demo Solution in Visual Studio 2010. Database versions: SQL Server 2008/2012
    Attached Files Attached Files
    Last edited by KGComputers; Jun 30th, 2014 at 10:36 AM.
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal | Programming
    Projects: GitHub | jsFiddle

    Rating someone's post is a way of saying Thanks...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width