Monday, 21 October 2013

Show Time Difference in Minute Ago, Hour Ago, Day Ago, Week Ago, Month Ago

SQL Server - Show Time Difference in Minute Ago, Hour Ago, Day Ago, Week Ago, Month Ago

Introduction

Here I will explain SQL Server query to get date time difference in minute ago, hour ago, day ago, week ago or month ago format in SQL Server 2008 / 2005 or how to get date time format in minute ago, hour ago, day ago, week ago or month ago in SQL Server 2008 / 2005.

Description

 SQL Server can function return multiple values, SQL Server update multiple tables with inner joins, SQL Server difference between view and stored procedure and many articles relating to SQL Server. Now I will explain how to write query to get date time in minute ago, hour ago, day ago, week ago or month ago format in SQL Server.


To get date-time field in time ago format first we need to create function like as shown below


CREATE FUNCTION fngettimeinagoformat(@givenDate DateTime,@curDate DateTime)                     
RETURNS Varchar(100)                     
AS                     
BEGIN                     
declare @Date as Varchar(100)                   
select @Date =                    
case                                             
when DateDiff(mi,@givenDate,@curDate) <= 1 then '1 min ago'                                                                         
when DateDiff(mi,@givenDate,@curDate) > 1 and DateDiff(mi,@givenDate,@curDate) <= 60 then 
Convert(Varchar,DateDiff(mi,@givenDate,@curDate)) + ' mins ago'                                                                         
when DateDiff(hh,@givenDate,@curDate) <= 1 then 
Convert(Varchar,DateDiff(hh,@givenDate,@curDate)) + ' hour ago'                                                                         
when DateDiff(hh,@givenDate,@curDate) > 1 and DateDiff(hh,@givenDate,@curDate) <= 24 then
 Convert(Varchar,DateDiff(hh,@givenDate,@curDate)) + ' hrs ago'                                                                         
when DateDiff(dd,@givenDate,@curDate) <= 1 then 
Convert(Varchar,DateDiff(dd,@givenDate,@curDate)) + ' day ago'                                                                                 
when DateDiff(dd,@givenDate,@curDate) > 1 and  DateDiff(dd,@givenDate,@curDate) <= 7 then 
Convert(Varchar,DateDiff(dd,@givenDate,@curDate)) + ' days ago'                                                                                 
when DateDiff(ww,@givenDate,@curDate) <= 1 then
 Convert(Varchar,DateDiff(ww,@givenDate,@curDate)) + ' week ago'                                                                                  
when DateDiff(ww,@givenDate,@curDate) > 1 and DateDiff(ww,@givenDate,@curDate) <= 4 then 
Convert(Varchar,DateDiff(ww,@givenDate,@curDate)) + ' weeks ago'                                                                                 
when DateDiff(mm,@givenDate,@curDate) <= 1 then 
Convert(Varchar,DateDiff(mm,@givenDate,@curDate)) + ' month ago'                                                                                 
when DateDiff(mm,@givenDate,@curDate) > 1 and DateDiff(mm,@givenDate,@curDate) <= 12 then
 Convert(Varchar,DateDiff(mm,@givenDate,@curDate)) + ' mnths ago'                                                                                 
when DateDiff(yy,@givenDate,@curDate) <= 1 then 
Convert(Varchar,DateDiff(yy,@givenDate,@curDate)) + ' year ago'                                                                                 
when DateDiff(yy,@givenDate,@curDate) > 1 then 
Convert(Varchar,DateDiff(yy,@givenDate,@curDate)) + ' yrs ago'                                                                                 
end                      
return @Date                   
END
Once we create above function we need to pass two date parameters to execute the query like as shown below


DECLARE @givendate DATETIME
SET @givendate ='2013-09-06 06:04:56.517'
select dbo.fngettimeinagoformat(@givendate,GETDATE())
If we run above query output will be like as shown below

Output



I am running above function in datetime format table that sample will be like this 


Thursday, 17 October 2013

List of Countries drop down list in aspx

List of Countries drop down list in aspx 

.aspx

  <asp:DropDownList ID="ddlloc" runat="server">
                            <asp:ListItem Value="AF">Afghanistan (‫افغانستان‬‎) </asp:ListItem>
                            <asp:ListItem Value="AX">Åland Islands (Åland) </asp:ListItem>
                            <asp:ListItem Value="AL">Albania (Shqipëria) </asp:ListItem>
                            <asp:ListItem Value="DZ">Algeria (‫الجزائر‬‎) </asp:ListItem>
                            <asp:ListItem Value="AS">American Samoa </asp:ListItem>
                            <asp:ListItem Value="AD">Andorra </asp:ListItem>
                            <asp:ListItem Value="AO">Angola </asp:ListItem>
                            <asp:ListItem Value="AI">Anguilla </asp:ListItem>
                            <asp:ListItem Value="AQ">Antarctica </asp:ListItem>
                            <asp:ListItem Value="AG">Antigua and Barbuda </asp:ListItem>
                            <asp:ListItem Value="AR">Argentina </asp:ListItem>
                            <asp:ListItem Value="AM">Armenia (Հայաստան) </asp:ListItem>
                            <asp:ListItem Value="AW">Aruba </asp:ListItem>
                            <asp:ListItem Value="AC">Ascension Island </asp:ListItem>
                            <asp:ListItem Value="AU">Australia </asp:ListItem>
                            <asp:ListItem Value="AT">Austria (Österreich) </asp:ListItem>
                            <asp:ListItem Value="AZ">Azerbaijan (Azərbaycan) </asp:ListItem>
                            <asp:ListItem Value="BS">Bahamas </asp:ListItem>
                            <asp:ListItem Value="BH">Bahrain (‫البحرين‬‎) </asp:ListItem>
                            <asp:ListItem Value="BD">Bangladesh (বাংলাদেশ) </asp:ListItem>
                            <asp:ListItem Value="BB">Barbados </asp:ListItem>
                            <asp:ListItem Value="BY">Belarus (Беларусь) </asp:ListItem>
                            <asp:ListItem Value="BE">Belgium (België) </asp:ListItem>
                            <asp:ListItem Value="BZ">Belize </asp:ListItem>
                            <asp:ListItem Value="BJ">Benin (Bénin) </asp:ListItem>
                            <asp:ListItem Value="BM">Bermuda </asp:ListItem>
                            <asp:ListItem Value="BT">Bhutan (འབྲུག) </asp:ListItem>
                            <asp:ListItem Value="BO">Bolivia </asp:ListItem>
                            <asp:ListItem Value="BA">Bosnia and Herzegovina (Босна и Херцеговина) </asp:ListItem>
                            <asp:ListItem Value="BW">Botswana </asp:ListItem>
                            <asp:ListItem Value="BV">Bouvet Island </asp:ListItem>
                            <asp:ListItem Value="BR">Brazil (Brasil) </asp:ListItem>
                            <asp:ListItem Value="IO">British Indian Ocean Territory </asp:ListItem>
                            <asp:ListItem Value="VG">British Virgin Islands </asp:ListItem>
                            <asp:ListItem Value="BN">Brunei </asp:ListItem>
                            <asp:ListItem Value="BG">Bulgaria (България) </asp:ListItem>
                            <asp:ListItem Value="BF">Burkina Faso </asp:ListItem>
                            <asp:ListItem Value="BI">Burundi (Uburundi) </asp:ListItem>
                            <asp:ListItem Value="KH">Cambodia (កម្ពុជា) </asp:ListItem>
                            <asp:ListItem Value="CM">Cameroon (Cameroun) </asp:ListItem>
                            <asp:ListItem Value="CA">Canada </asp:ListItem>
                            <asp:ListItem Value="IC">Canary Islands (Islas Canarias) </asp:ListItem>
                            <asp:ListItem Value="CV">Cape Verde (Kabu Verdi) </asp:ListItem>
                            <asp:ListItem Value="BQ">Caribbean Netherlands </asp:ListItem>
                            <asp:ListItem Value="KY">Cayman Islands </asp:ListItem>
                            <asp:ListItem Value="CF">Central African Republic (République centrafricaine) </asp:ListItem>
                            <asp:ListItem Value="EA">Ceuta and Melilla (Ceuta y Melilla) </asp:ListItem>
                            <asp:ListItem Value="TD">Chad (Tchad) </asp:ListItem>
                            <asp:ListItem Value="CL">Chile </asp:ListItem>
                            <asp:ListItem Value="CN">China (中国) </asp:ListItem>
                            <asp:ListItem Value="CX">Christmas Island </asp:ListItem>
                            <asp:ListItem Value="CP">Clipperton Island (Île Clipperton) </asp:ListItem>
                            <asp:ListItem Value="CC">Cocos [Keeling] Islands </asp:ListItem>
                            <asp:ListItem Value="CO">Colombia </asp:ListItem>
                            <asp:ListItem Value="KM">Comoros (‫جزر القمر‬‎) </asp:ListItem>
                            <asp:ListItem Value="CD">Congo [DRC] (Jamhuri ya Kidemokrasia ya Kongo) </asp:ListItem>
                            <asp:ListItem Value="CG">Congo [Republic] (Congo-Brazzaville) </asp:ListItem>
                            <asp:ListItem Value="CK">Cook Islands </asp:ListItem>
                            <asp:ListItem Value="CR">Costa Rica </asp:ListItem>
                            <asp:ListItem Value="CI">Côte d’Ivoire </asp:ListItem>
                            <asp:ListItem Value="HR">Croatia (Hrvatska) </asp:ListItem>
                            <asp:ListItem Value="CU">Cuba </asp:ListItem>
                            <asp:ListItem Value="CW">Curaçao </asp:ListItem>
                            <asp:ListItem Value="CY">Cyprus (Κύπρος) </asp:ListItem>
                            <asp:ListItem Value="CZ">Czech Republic (Česká republika) </asp:ListItem>
                            <asp:ListItem Value="DK">Denmark (Danmark) </asp:ListItem>
                            <asp:ListItem Value="DG">Diego Garcia </asp:ListItem>
                            <asp:ListItem Value="DJ">Djibouti </asp:ListItem>
                            <asp:ListItem Value="DM">Dominica </asp:ListItem>
                            <asp:ListItem Value="DO">Dominican Republic (República Dominicana) </asp:ListItem>
                            <asp:ListItem Value="EC">Ecuador </asp:ListItem>
                            <asp:ListItem Value="EG">Egypt (‫مصر‬‎) </asp:ListItem>
                            <asp:ListItem Value="SV">El Salvador </asp:ListItem>
                            <asp:ListItem Value="GQ">Equatorial Guinea (Guinea Ecuatorial) </asp:ListItem>
                            <asp:ListItem Value="ER">Eritrea </asp:ListItem>
                            <asp:ListItem Value="EE">Estonia (Eesti) </asp:ListItem>
                            <asp:ListItem Value="ET">Ethiopia </asp:ListItem>
                            <asp:ListItem Value="FK">Falkland Islands [Islas Malvinas] </asp:ListItem>
                            <asp:ListItem Value="FO">Faroe Islands (Føroyar) </asp:ListItem>
                            <asp:ListItem Value="FJ">Fiji </asp:ListItem>
                            <asp:ListItem Value="FI">Finland (Suomi) </asp:ListItem>
                            <asp:ListItem Value="FR">France </asp:ListItem>
                            <asp:ListItem Value="GF">French Guiana (Guyane française) </asp:ListItem>
                            <asp:ListItem Value="PF">French Polynesia (Polynésie française) </asp:ListItem>
                            <asp:ListItem Value="TF">French Southern Territories (Terres australes françaises) </asp:ListItem>
                            <asp:ListItem Value="GA">Gabon </asp:ListItem>
                            <asp:ListItem Value="GM">Gambia </asp:ListItem>
                            <asp:ListItem Value="GE">Georgia (საქართველო) </asp:ListItem>
                            <asp:ListItem Value="DE">Germany (Deutschland) </asp:ListItem>
                            <asp:ListItem Value="GH">Ghana (Gaana) </asp:ListItem>
                            <asp:ListItem Value="GI">Gibraltar </asp:ListItem>
                            <asp:ListItem Value="GR">Greece (Ελλάδα) </asp:ListItem>
                            <asp:ListItem Value="GL">Greenland (Kalaallit Nunaat) </asp:ListItem>
                            <asp:ListItem Value="GD">Grenada </asp:ListItem>
                            <asp:ListItem Value="GP">Guadeloupe </asp:ListItem>
                            <asp:ListItem Value="GU">Guam </asp:ListItem>
                            <asp:ListItem Value="GT">Guatemala </asp:ListItem>
                            <asp:ListItem Value="GG">Guernsey </asp:ListItem>
                            <asp:ListItem Value="GN">Guinea (Guinée) </asp:ListItem>
                            <asp:ListItem Value="GW">Guinea-Bissau (Guiné Bissau) </asp:ListItem>
                            <asp:ListItem Value="GY">Guyana </asp:ListItem>
                            <asp:ListItem Value="HT">Haiti </asp:ListItem>
                            <asp:ListItem Value="HM">Heard Island and McDonald Islands </asp:ListItem>
                            <asp:ListItem Value="HN">Honduras </asp:ListItem>
                            <asp:ListItem Value="HK">Hong Kong (香港) </asp:ListItem>
                            <asp:ListItem Value="HU">Hungary (Magyarország) </asp:ListItem>
                            <asp:ListItem Value="IS">Iceland (Ísland) </asp:ListItem>
                            <asp:ListItem Value="IN" Selected>India (भारत) </asp:ListItem>
                            <asp:ListItem Value="ID">Indonesia </asp:ListItem>
                            <asp:ListItem Value="IR">Iran (‫ایران‬‎) </asp:ListItem>
                            <asp:ListItem Value="IQ">Iraq (‫العراق‬‎) </asp:ListItem>
                            <asp:ListItem Value="IE">Ireland </asp:ListItem>
                            <asp:ListItem Value="IM">Isle of Man </asp:ListItem>
                            <asp:ListItem Value="IL">Israel (‫ישראל‬‎) </asp:ListItem>
                            <asp:ListItem Value="IT">Italy (Italia) </asp:ListItem>
                            <asp:ListItem Value="JM">Jamaica </asp:ListItem>
                            <asp:ListItem Value="JP">Japan (日本) </asp:ListItem>
                            <asp:ListItem Value="JE">Jersey </asp:ListItem>
                            <asp:ListItem Value="JO">Jordan (‫الأردن‬‎) </asp:ListItem>
                            <asp:ListItem Value="KZ">Kazakhstan (Казахстан) </asp:ListItem>
                            <asp:ListItem Value="KE">Kenya </asp:ListItem>
                            <asp:ListItem Value="KI">Kiribati </asp:ListItem>
                            <asp:ListItem Value="XK">Kosovo (Косово) </asp:ListItem>
                            <asp:ListItem Value="KW">Kuwait (‫الكويت‬‎) </asp:ListItem>
                            <asp:ListItem Value="KG">Kyrgyzstan </asp:ListItem>
                            <asp:ListItem Value="LA">Laos (ສ.ປ.ປ ລາວ) </asp:ListItem>
                            <asp:ListItem Value="LV">Latvia (Latvija) </asp:ListItem>
                            <asp:ListItem Value="LB">Lebanon (‫لبنان‬‎) </asp:ListItem>
                            <asp:ListItem Value="LS">Lesotho </asp:ListItem>
                            <asp:ListItem Value="LR">Liberia </asp:ListItem>
                            <asp:ListItem Value="LY">Libya (‫ليبيا‬‎) </asp:ListItem>
                            <asp:ListItem Value="LI">Liechtenstein </asp:ListItem>
                            <asp:ListItem Value="LT">Lithuania (Lietuva) </asp:ListItem>
                            <asp:ListItem Value="LU">Luxembourg </asp:ListItem>
                            <asp:ListItem Value="MO">Macau (澳門) </asp:ListItem>
                            <asp:ListItem Value="MK">Macedonia [FYROM] (Македонија) </asp:ListItem>
                            <asp:ListItem Value="MG">Madagascar (Madagasikara) </asp:ListItem>
                            <asp:ListItem Value="MW">Malawi </asp:ListItem>
                            <asp:ListItem Value="MY">Malaysia </asp:ListItem>
                            <asp:ListItem Value="MV">Maldives </asp:ListItem>
                            <asp:ListItem Value="ML">Mali </asp:ListItem>
                            <asp:ListItem Value="MT">Malta </asp:ListItem>
                            <asp:ListItem Value="MH">Marshall Islands </asp:ListItem>
                            <asp:ListItem Value="MQ">Martinique </asp:ListItem>
                            <asp:ListItem Value="MR">Mauritania (‫موريتانيا‬‎) </asp:ListItem>
                            <asp:ListItem Value="MU">Mauritius (Moris) </asp:ListItem>
                            <asp:ListItem Value="YT">Mayotte </asp:ListItem>
                            <asp:ListItem Value="MX">Mexico (México) </asp:ListItem>
                            <asp:ListItem Value="FM">Micronesia </asp:ListItem>
                            <asp:ListItem Value="MD">Moldova (Republica Moldova) </asp:ListItem>
                            <asp:ListItem Value="MC">Monaco </asp:ListItem>
                            <asp:ListItem Value="MN">Mongolia (Монгол) </asp:ListItem>
                            <asp:ListItem Value="ME">Montenegro (Crna Gora) </asp:ListItem>
                            <asp:ListItem Value="MS">Montserrat </asp:ListItem>
                            <asp:ListItem Value="MA">Morocco (‫المغرب‬‎) </asp:ListItem>
                            <asp:ListItem Value="MZ">Mozambique (Moçambique) </asp:ListItem>
                            <asp:ListItem Value="MM">Myanmar [Burma] (မြန်မာ) </asp:ListItem>
                            <asp:ListItem Value="NA">Namibia </asp:ListItem>
                            <asp:ListItem Value="NR">Nauru </asp:ListItem>
                            <asp:ListItem Value="NP">Nepal (नेपाल) </asp:ListItem>
                            <asp:ListItem Value="NL">Netherlands (Nederland) </asp:ListItem>
                            <asp:ListItem Value="NC">New Caledonia (Nouvelle-Calédonie) </asp:ListItem>
                            <asp:ListItem Value="NZ">New Zealand </asp:ListItem>
                            <asp:ListItem Value="NI">Nicaragua </asp:ListItem>
                            <asp:ListItem Value="NE">Niger (Nijar) </asp:ListItem>
                            <asp:ListItem Value="NG">Nigeria </asp:ListItem>
                            <asp:ListItem Value="NU">Niue </asp:ListItem>
                            <asp:ListItem Value="NF">Norfolk Island </asp:ListItem>
                            <asp:ListItem Value="MP">Northern Mariana Islands </asp:ListItem>
                            <asp:ListItem Value="KP">North Korea (조선 민주주의 인민 공화국) </asp:ListItem>
                            <asp:ListItem Value="NO">Norway (Norge) </asp:ListItem>
                            <asp:ListItem Value="OM">Oman (‫عُمان‬‎) </asp:ListItem>
                            <asp:ListItem Value="PK">Pakistan (‫پاکستان‬‎) </asp:ListItem>
                            <asp:ListItem Value="PW">Palau </asp:ListItem>
                            <asp:ListItem Value="PS">Palestine (‫فلسطين‬‎) </asp:ListItem>
                            <asp:ListItem Value="PA">Panama (Panamá) </asp:ListItem>
                            <asp:ListItem Value="PG">Papua New Guinea </asp:ListItem>
                            <asp:ListItem Value="PY">Paraguay </asp:ListItem>
                            <asp:ListItem Value="PE">Peru (Perú) </asp:ListItem>
                            <asp:ListItem Value="PH">Philippines </asp:ListItem>
                            <asp:ListItem Value="PN">Pitcairn Islands </asp:ListItem>
                            <asp:ListItem Value="PL">Poland (Polska) </asp:ListItem>
                            <asp:ListItem Value="PT">Portugal </asp:ListItem>
                            <asp:ListItem Value="PR">Puerto Rico </asp:ListItem>
                            <asp:ListItem Value="QA">Qatar (‫قطر‬‎) </asp:ListItem>
                            <asp:ListItem Value="RE">Réunion </asp:ListItem>
                            <asp:ListItem Value="RO">Romania (România) </asp:ListItem>
                            <asp:ListItem Value="RU">Russia (Россия) </asp:ListItem>
                            <asp:ListItem Value="RW">Rwanda </asp:ListItem>
                            <asp:ListItem Value="BL">Saint Barthélemy (Saint-Barthélémy) </asp:ListItem>
                            <asp:ListItem Value="SH">Saint Helena </asp:ListItem>
                            <asp:ListItem Value="KN">Saint Kitts and Nevis </asp:ListItem>
                            <asp:ListItem Value="LC">Saint Lucia </asp:ListItem>
                            <asp:ListItem Value="MF">Saint Martin (Saint-Martin [partie française]) </asp:ListItem>
                            <asp:ListItem Value="PM">Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon) </asp:ListItem>
                            <asp:ListItem Value="VC">Saint Vincent and the Grenadines </asp:ListItem>
                            <asp:ListItem Value="WS">Samoa </asp:ListItem>
                            <asp:ListItem Value="SM">San Marino </asp:ListItem>
                            <asp:ListItem Value="ST">São Tomé and Príncipe (São Tomé e Príncipe) </asp:ListItem>
                            <asp:ListItem Value="SA">Saudi Arabia (‫المملكة العربية السعودية‬‎) </asp:ListItem>
                            <asp:ListItem Value="SN">Senegal (Sénégal) </asp:ListItem>
                            <asp:ListItem Value="RS">Serbia (Србија) </asp:ListItem>
                            <asp:ListItem Value="SC">Seychelles </asp:ListItem>
                            <asp:ListItem Value="SL">Sierra Leone </asp:ListItem>
                            <asp:ListItem Value="SG">Singapore </asp:ListItem>
                            <asp:ListItem Value="SX">Sint Maarten </asp:ListItem>
                            <asp:ListItem Value="SK">Slovakia (Slovensko) </asp:ListItem>
                            <asp:ListItem Value="SI">Slovenia (Slovenija) </asp:ListItem>
                            <asp:ListItem Value="SB">Solomon Islands </asp:ListItem>
                            <asp:ListItem Value="SO">Somalia (Soomaaliya) </asp:ListItem>
                            <asp:ListItem Value="ZA">South Africa </asp:ListItem>
                            <asp:ListItem Value="GS">South Georgia and the South Sandwich Islands </asp:ListItem>
                            <asp:ListItem Value="KR">South Korea (대한민국) </asp:ListItem>
                            <asp:ListItem Value="SS">South Sudan (‫جنوب السودان‬‎) </asp:ListItem>
                            <asp:ListItem Value="ES">Spain (España) </asp:ListItem>
                            <asp:ListItem Value="LK">Sri Lanka (ශ්රී ලංකාව) </asp:ListItem>
                            <asp:ListItem Value="SD">Sudan (‫السودان‬‎) </asp:ListItem>
                            <asp:ListItem Value="SR">Suriname </asp:ListItem>
                            <asp:ListItem Value="SJ">Svalbard and Jan Mayen (Svalbard og Jan Mayen) </asp:ListItem>
                            <asp:ListItem Value="SZ">Swaziland </asp:ListItem>
                            <asp:ListItem Value="SE">Sweden (Sverige) </asp:ListItem>
                            <asp:ListItem Value="CH">Switzerland (Schweiz) </asp:ListItem>
                            <asp:ListItem Value="SY">Syria (‫سوريا‬‎) </asp:ListItem>
                            <asp:ListItem Value="TW">Taiwan (台灣) </asp:ListItem>
                            <asp:ListItem Value="TJ">Tajikistan </asp:ListItem>
                            <asp:ListItem Value="TZ">Tanzania </asp:ListItem>
                            <asp:ListItem Value="TH">Thailand (ไทย) </asp:ListItem>
                            <asp:ListItem Value="TL">Timor-Leste </asp:ListItem>
                            <asp:ListItem Value="TG">Togo </asp:ListItem>
                            <asp:ListItem Value="TK">Tokelau </asp:ListItem>
                            <asp:ListItem Value="TO">Tonga </asp:ListItem>
                            <asp:ListItem Value="TT">Trinidad and Tobago </asp:ListItem>
                            <asp:ListItem Value="TA">Tristan da Cunha </asp:ListItem>
                            <asp:ListItem Value="TN">Tunisia (‫تونس‬‎) </asp:ListItem>
                            <asp:ListItem Value="TR">Turkey (Türkiye) </asp:ListItem>
                            <asp:ListItem Value="TM">Turkmenistan </asp:ListItem>
                            <asp:ListItem Value="TC">Turks and Caicos Islands </asp:ListItem>
                            <asp:ListItem Value="TV">Tuvalu </asp:ListItem>
                            <asp:ListItem Value="UM">U.S. Outlying Islands </asp:ListItem>
                            <asp:ListItem Value="VI">U.S. Virgin Islands </asp:ListItem>
                            <asp:ListItem Value="UG">Uganda </asp:ListItem>
                            <asp:ListItem Value="UA">Ukraine (Україна) </asp:ListItem>
                            <asp:ListItem Value="AE">United Arab Emirates (‫الإمارات العربية المتحدة‬‎) </asp:ListItem>
                            <asp:ListItem Value="GB">United Kingdom </asp:ListItem>
                            <asp:ListItem Value="US">United States </asp:ListItem>
                            <asp:ListItem Value="UY">Uruguay </asp:ListItem>
                            <asp:ListItem Value="UZ">Uzbekistan (Ўзбекистон) </asp:ListItem>
                            <asp:ListItem Value="VU">Vanuatu </asp:ListItem>
                            <asp:ListItem Value="VA">Vatican City (Città del Vaticano) </asp:ListItem>
                            <asp:ListItem Value="VE">Venezuela </asp:ListItem>
                            <asp:ListItem Value="VN">Vietnam (Việt Nam) </asp:ListItem>
                            <asp:ListItem Value="WF">Wallis and Futuna </asp:ListItem>
                            <asp:ListItem Value="EH">Western Sahara (‫الصحراء الغربية‬‎) </asp:ListItem>
                            <asp:ListItem Value="YE">Yemen (‫اليمن‬‎) </asp:ListItem>
                        </asp:DropDownList>

Receive All Free Updates Via Facebook.