Skip to main content

ASP.NET URL Rewriting Example

ASP.NET URL Rewriting Example

This post explains about ASP.NET URL rewriting. ASP.NET URL Rewriting Example. Create a new ASP.NET website and create following .aspx pages  in your website. You can use any existing project too. I’m using Visual studio 2012 and .net framework 4.5 . Default.aspx PageTwo.aspx BasicInfo.aspx GetData.aspx And make a Global.asax file in your project. Here, the global.asax file is […]

Read More

ASP.NET fill Dropdownlist from MS SQL Server Database

ASP.NET fill Dropdownlist from MS SQL Server Database

ASP.NET  fill Dropdownlist from MS SQL Server Database Script for Database : Create database [SimpleAsp]   Script for Table : USE [SimpleAsp] GO /****** Object: Table [dbo].[tblCities] Script Date: 10/30/2016 19:19:14 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[tblCities]( [Id] [int] IDENTITY(1,1) NOT NULL, [Country] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Cities] […]

Read More