Category Archives: 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

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

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

How to define custom width for gridview columns.

In this tutorial you will learn how to define custom width for asp.net gridview coloumn width. Your asp.net grid view look like this in code view without specifying any custom coloumns or their width. <asp:GridView ID=”GridView1″ runat=”server”> </asp:GridView> But after the custom coloumn and their width this look like as shown below. <asp:GridView ID=”GridView1″ runat=”server”>

How to set the Default browser in Visual Studio

How to set the Default browser in Visual Studio To Set the default browser in Visual Studio when running a web application simply follow the below 3 steps: 1.Open visual studio. 2.Click on File menu then click on browse with.” 3.In the dialog box you will be shown the currently installed browsers. Highlight the browser