|
|
|
Click here to copy the following block |
Function GetUSStates() As String() Dim temp() As String Dim states(0 To 49, 0 To 1) As String Dim i As Integer Const STATES_LIST = "Alabama;AL;Alaska;AK;Arizona;AZ;Arkansas;AR;California;" _ & "CA;" & "Colorado;CO;Connecticut;CT;Delaware;DE;Florida;FL;Georgia;GA;" _ & "" & "Hawaii;HI;Idaho;ID;Illinois;IL;Indiana;IN;Iowa;IA;" & _ "Kansas;KS;Kentucky;KY;Louisiana;LA;Maine;ME;Maryland;MD;" & _ "Massachusetts;MA;Michigan;MI;Minnesota;MN;Mississippi;MS;Missouri;MO;" _ & "Montana;MT;Nebraska;NE;Nevada;NV;New Hampshire;NH;New Jersey;NJ;" & _ "New Mexico;NM;New York;NY;North Carolina;NC;North Dakota;ND;Ohio;OH;" _ & "Oklahoma;OK;Oregon;OR;Pennsylvania;PA;Rhode Island;RI;South " _ & "Carolina;SC;" & _ "South Dakota;SD;Tennessee;TN;Texas;TX;Utah;UT;Vermont;VT;" & _ "Virginia;VA;Washington;WA;West Virginia;WV;Wisconsin;WI;Wyoming;WY" temp() = Split(STATES_LIST, ";") For i = 0 To UBound(states) states(i, 0) = temp(i * 2) states(i, 1) = temp(i * 2 + 1) Next GetUSStates = states End Function |
|
|
|
Submitted By :
Nayan Patel
(Member Since : 5/26/2004 12:23:06 PM)
|
|
|
Job Description :
He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting. |
View all (893) submissions by this author
(Birth Date : 7/14/1981 ) |
|
|