Categories
Asp, Asp.net

Change Gridview Header Text Dynamically At Runtime in Asp.Net

Change Gridview Header Text Dynamically At Runtime in Asp.Net In this post i will let you know, that how can you change Gridview header text dynamically  in Asp.Net at runtime.Here i am using a SQL Server database for backend, Table1 is table on which i am working on. Table1 Column Name Data Type Allow Nulls […]

Categories
Asp, Asp.net

How to Use QueryString in Asp.Net

How to Use QueryString in Asp.Net QueryString in Asp.Net:- For passing variables content from PAGE A  > PAGE B in ASP.NET gives us several choices. One of the choice from all of that is using QueryString. A query string is additional string that is appended at the end of page link. Query strings fulfill our limited […]

Categories
Asp, Asp.net

How to Send Mail From Asp.Net Using C#

How to Send Mail Through Asp.Net Using C# Sending email is a basic task in Asp.Net. In classic ASP, we worked with the CDONTS object to send emails from an ASP page. The Smtp class in ASP .NET provides methods for sending mail messages.In this article, we will see, how can we send email from […]

Categories
Asp, Asp.net

How to Create Database Connection in Asp.Net

How to Create Database Connection in Asp.Net To make dynamic website,portals and online application, we require database (SQL Server,Access,MySQL,Oracle) etc. To create a database connection in asp.net follow the following steps:- 1. By using Web.config:- (i) Go to your web.config file and then locate the <connectionStrings/>. Change it like this:- <connectionStrings> <add name="con" connectionString="Data Source=.; Initial […]