Change GridView SortLink Color in ASP.NET 4.0-VBForums
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
    Location
    Cebu, PH
    Posts
    1,886

    Change GridView SortLink Color in ASP.NET 4.0

    Here's a simple asp.net 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 11:36 AM.
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: My Blog | GitHub Repo | ASP Snippets | CodeASP.net
    ___________________________________________________________________________________

    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
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.