Monthly Archives: October 2012

How to highlight sorted column of a GridView control in ASP.NET

In this article I will explain how to highlight sorted column of a GridView control in ASP.NET Introduction In this article I will explain how to highlight or select the column of an ASP.NET GridView control whose header has been clicked for sorting Step 1: Create a new ASP.NET Web Application and drag a GridView… Read More »

GridView Paging and Sorting in ASP.NET without using a DataSource

In this article I will explain how to enable paging and sorting in a GridView control manually without using a DataSource Download Source Code Introduction: In this article I will explain how to enable paging and sorting in a GridView control manually without using a DataSource like SqlDataSource Step 1: Create a new ASP.NET Web… Read More »

GridView Paging and Sorting in ASP.NET using SqlDataSource

Introduction: In this article I will explain how to enable paging and sorting in a GridView control using SqlDataSource in design view Step 1: Create a new ASP.NET Web Application and drag a GridView control in Default.aspx design view and select New Data Source from the Chose Data Source dropdown in the GridView Tasks pane… Read More »

How to show images in RadioButtonList control in ASP.NET

In this article I will explain how to show images in a RadioButtonList control in ASP.NET Introduction: A RadioButtonList control is a collection of RadioButtons. It is used to select one item from a group of items. Generally a text is displayed with RadioButtons in the RadioButtonList. But sometimes it is required to display an… Read More »

How to approve new users with confirmation email using CreateUserWizard control in ASP.Net

In this article I will explain how to approve new users created using CreateUserWizard with a confirmation email in ASP.NET Introduction In this article first we will configure a CreateUserWizard control using SQLMembersipProvider. Then an SMTP mail setting is configured to send confirmation email to new users registered using this CreateUserWizard control. A user is… Read More »

Send Email with attachments from C# Windows application using Gmail SMTP

In this article I will explain how to send email from C# Windows application with attachment using Gmail SMTP Introduction In this article we will see how to send email from C# Windows application (WinForms) with attachment using Gmail SMTP. For this first we will design interface for sending email and then we will set… Read More »

Connecting C# application with MySQL database

In this article I will explain how to connect C# application with MySQL database Introduction In this article we will see how to display data in a Windows Forms application from a MySQL database table Step 1: Install MySQL database driver (MySQL Connector/NET) for .NET. Download it from this link http://dev.mysql.com/downloads/connector/net. Step 2: Create a… Read More »