Powered by Blogger.

Saturday, July 17, 2010

Country List in ASP.NET

Introduction

Developing one Customer registration page we need country name most of the time. But its very difficult to remember all the country name and bind it to country dropdown list. This article will help us to get all the country name.

How to use this Country.cs file?


Country.cs is one class file just add to your BAL(Business Access Layer) 
1: Download this Country.cs file.
2: Go to BAL Add Existing Item and select this class


Code of Country.cs file.
CountryNAme

How to Bind the country list to dropdownlist?


.cs file code


I am attaching Country.cs file as well the complete porject how i am using in UI Level please find the attachment.
 
by Susantaown

No comments:

Post a Comment

  ©Template by Dicas Blogger.

TOPO