Geekpedia Tutorials Home

Building a C# Chat Client and Server

Building a C# Chat Client and ServerA step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.

in C# Programming Tutorials

Getting Hard Drive Information

Getting Hard Drive InformationA C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.

in C# Programming Tutorials

UPS Shipping Calculator

UPS Shipping CalculatorThis tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.

in PHP Programming Tutorials

Create Your Own Rich Text Editor

Create Your Own Rich Text EditorCreating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.

in JavaScript Programming Tutorials
Search
Tutorials
Programming Tutorials
IT Jobs
From CareerBuilder

Dropdown List Of UK Counties

A complete list of counties in the UK that includes England, Scotland, Wales and Northern Ireland.

On Saturday, October 4th 2008 at 12:51 PM
By Andrew Pociu (View Profile)
*****   (Rated 4.5 with 11 votes)
Contextual Ads
More HTML Resources
Advertisement
  1. <select name="Counties">
  2.     <optgroup label="England">
  3.         <option>Bedfordshire</option>
  4.         <option>Berkshire</option>
  5.         <option>Bristol</option>
  6.         <option>Buckinghamshire</option>
  7.         <option>Cambridgeshire</option>
  8.         <option>Cheshire</option>
  9.         <option>City of London</option>
  10.         <option>Cornwall</option>
  11.         <option>Cumbria</option>
  12.         <option>Derbyshire</option>
  13.         <option>Devon</option>
  14.         <option>Dorset</option>
  15.         <option>Durham</option>
  16.         <option>East Riding of Yorkshire</option>
  17.         <option>East Sussex</option>
  18.         <option>Essex</option>
  19.         <option>Gloucestershire</option>
  20.         <option>Greater London</option>
  21.         <option>Greater Manchester</option>
  22.         <option>Hampshire</option>
  23.         <option>Herefordshire</option>
  24.         <option>Hertfordshire</option>
  25.         <option>Isle of Wight</option>
  26.         <option>Kent</option>
  27.         <option>Lancashire</option>
  28.         <option>Leicestershire</option>
  29.         <option>Lincolnshire</option>
  30.         <option>Merseyside</option>
  31.         <option>Norfolk</option>
  32.         <option>North Yorkshire</option>
  33.         <option>Northamptonshire</option>
  34.         <option>Northumberland</option>
  35.         <option>Nottinghamshire</option>
  36.         <option>Oxfordshire</option>
  37.         <option>Rutland</option>
  38.         <option>Shropshire</option>
  39.         <option>Somerset</option>
  40.         <option>South Yorkshire</option>
  41.         <option>Staffordshire</option>
  42.         <option>Suffolk</option>
  43.         <option>Surrey</option>
  44.         <option>Tyne and Wear</option>
  45.         <option>Warwickshire</option>
  46.         <option>West Midlands</option>
  47.         <option>West Sussex</option>
  48.         <option>West Yorkshire</option>
  49.         <option>Wiltshire</option>
  50.         <option>Worcestershire</option>
  51.     </optgroup>
  52.     <optgroup label="Scotland">
  53.         <option>Aberdeenshire</option>
  54.         <option>Angus</option>
  55.         <option>Argyllshire</option>
  56.         <option>Ayrshire</option>
  57.         <option>Banffshire</option>
  58.         <option>Berwickshire</option>
  59.         <option>Buteshire</option>
  60.         <option>Cromartyshire</option>
  61.         <option>Caithness</option>
  62.         <option>Clackmannanshire</option>
  63.         <option>Dumfriesshire</option>
  64.         <option>Dunbartonshire</option>
  65.         <option>East Lothian</option>
  66.         <option>Fife</option>
  67.         <option>Inverness-shire</option>
  68.         <option>Kincardineshire</option>
  69.         <option>Kinross</option>
  70.         <option>Kirkcudbrightshire</option>
  71.         <option>Lanarkshire</option>
  72.         <option>Midlothian</option>
  73.         <option>Morayshire</option>
  74.         <option>Nairnshire</option>
  75.         <option>Orkney</option>
  76.         <option>Peeblesshire</option>
  77.         <option>Perthshire</option>
  78.         <option>Renfrewshire</option>
  79.         <option>Ross-shire</option>
  80.         <option>Roxburghshire</option>
  81.         <option>Selkirkshire</option>
  82.         <option>Shetland</option>
  83.         <option>Stirlingshire</option>
  84.         <option>Sutherland</option>
  85.         <option>West Lothian</option>
  86.         <option>Wigtownshire</option>
  87.     </optgroup>
  88.     <optgroup label="Wales">
  89.         <option>Anglesey</option>
  90.         <option>Brecknockshire</option>
  91.         <option>Caernarfonshire</option>
  92.         <option>Carmarthenshire</option>
  93.         <option>Cardiganshire</option>
  94.         <option>Denbighshire</option>
  95.         <option>Flintshire</option>
  96.         <option>Glamorgan</option>
  97.         <option>Merioneth</option>
  98.         <option>Monmouthshire</option>
  99.         <option>Montgomeryshire</option>
  100.         <option>Pembrokeshire</option>
  101.         <option>Radnorshire</option>
  102.     </optgroup>
  103.     <optgroup label="Northern Ireland">
  104.         <option>Antrim</option>
  105.         <option>Armagh</option>
  106.         <option>Down</option>
  107.         <option>Fermanagh</option>
  108.         <option>Londonderry</option>
  109.         <option>Tyrone</option>
  110.     </optgroup>
  111. </select>
Digg Digg It!     Del.icio.us Del.icio.us     Reddit Reddit     StumbleUpon StumbleIt     Newsvine Newsvine     Furl Furl     BlinkList BlinkList

Rate Rate this code snippet
Comment Current Comments
by Sharry on Thursday, November 27th 2008 at 05:36 AM

You forgot about 'Isle of Man'
Thanks :D

by milo on Sunday, January 25th 2009 at 12:10 PM

dude that must of been hard enough already.

by Greg on Thursday, May 28th 2009 at 03:36 AM

insert into tbl_Counties (CountryID, Name)
select 1, 'Bedfordshire'
union select 1, 'Berkshire'
union select 1, 'Bristol'
union select 1, 'Buckinghamshire'
union select 1, 'Cambridgeshire'
union select 1, 'Cheshire'
union select 1, 'City of London'
union select 1, 'Cornwall'
union select 1, 'Cumbria'
union select 1, 'Derbyshire'
union select 1, 'Devon'
union select 1, 'Dorset'
union select 1, 'Durham'
union select 1, 'East Riding of Yorkshire'
union select 1, 'East Sussex'
union select 1, 'Essex'
union select 1, 'Gloucestershire'
union select 1, 'Greater London'
union select 1, 'Greater Manchester'
union select 1, 'Hampshire'
union select 1, 'Herefordshire'
union select 1, 'Hertfordshire'
union select 1, 'Isle of Wight'
union select 1, 'Kent'
union select 1, 'Lancashire'
union select 1, 'Leicestershire'
union select 1, 'Lincolnshire'
union select 1, 'Merseyside'
union select 1, 'Norfolk'
union select 1, 'North Yorkshire'
union select 1, 'Northamptonshire'
union select 1, 'Northumberland'
union select 1, 'Nottinghamshire'
union select 1, 'Oxfordshire'
union select 1, 'Rutland'
union select 1, 'Shropshire'
union select 1, 'Somerset'
union select 1, 'South Yorkshire'
union select 1, 'Staffordshire'
union select 1, 'Suffolk'
union select 1, 'Surrey'
union select 1, 'Tyne and Wear'
union select 1, 'Warwickshire'
union select 1, 'West Midlands'
union select 1, 'West Sussex'
union select 1, 'West Yorkshire'
union select 1, 'Wiltshire'
union select 1, 'Worcestershire'
union select 2, 'Aberdeenshire'
union select 2, 'Angus'
union select 2, 'Argyllshire'
union select 2, 'Ayrshire'
union select 2, 'Banffshire'
union select 2, 'Berwickshire'
union select 2, 'Buteshire'
union select 2, 'Cromartyshire'
union select 2, 'Caithness'
union select 2, 'Clackmannanshire'
union select 2, 'Dumfriesshire'
union select 2, 'Dunbartonshire'
union select 2, 'East Lothian'
union select 2, 'Fife'
union select 2, 'Inverness-shire'
union select 2, 'Kincardineshire'
union select 2, 'Kinross'
union select 2, 'Kirkcudbrightshire'
union select 2, 'Lanarkshire'
union select 2, 'Midlothian'
union select 2, 'Morayshire'
union select 2, 'Nairnshire'
union select 2, 'Orkney'
union select 2, 'Peeblesshire'
union select 2, 'Perthshire'
union select 2, 'Renfrewshire'
union select 2, 'Ross-shire'
union select 2, 'Roxburghshire'
union select 2, 'Selkirkshire'
union select 2, 'Shetland'
union select 2, 'Stirlingshire'
union select 2, 'Sutherland'
union select 2, 'West Lothian'
union select 2, 'Wigtownshire'
union select 3, 'Anglesey'
union select 3, 'Brecknockshire'
union select 3, 'Caernarfonshire'
union select 3, 'Carmarthenshire'
union select 3, 'Cardiganshire'
union select 3, 'Denbighshire'
union select 3, 'Flintshire'
union select 3, 'Glamorgan'
union select 3, 'Merioneth'
union select 3, 'Monmouthshire'
union select 3, 'Montgomeryshire'
union select 3, 'Pembrokeshire'
union select 3, 'Radnorshire'
union select 4, 'Antrim'
union select 4, 'Armagh'
union select 4, 'Down'
union select 4, 'Fermanagh'
union select 4, 'Londonderry'
union select 4, 'Tyrone'

by K on Sunday, December 13th 2009 at 05:55 PM

Hi there

The Isle of Man/Mann is not part of the United Kingdom, and so is not a county of the UK.

Hope this info helps.

by James on Sunday, February 7th 2010 at 12:17 AM

Great! But not totally updated. I preferred to go for www.worldcitiesdatabase.com for uk cities database.

by shiraj turk on Monday, March 8th 2010 at 09:13 AM

please join the geekpedia


Comment Comment on this tutorial
Name: Email:
Message:
Comment Related Source Code
There is no related code.

Comment Related Tutorials
There are no related tutorials.

Jobs HTML Job Search
My skills include:

Enter a City:

Select a State:


Advanced Search >>
Sponsors
Discover Geekpedia

Other Resources