DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Posts
    2

    select current users country

    I have asp.net C# web app. it has country dropdownlist.when the page load I want to select current users country. how can I do this?

  2. #2
    Join Date
    Aug 2005
    Posts
    46
    similar question from me

  3. #3
    Join Date
    May 2004
    Location
    Duluth MN
    Posts
    353
    See if you can retreive the value from:

    System.Globalization.RegionInfo.CurrentRegion

    ...joe

  4. #4
    Join Date
    Nov 2005
    Posts
    2
    I tried to use that to get the country frmo every visitor that i have on my website and i it doesn't work. It always shows my country and not the visitor's country...

  5. #5
    Join Date
    Nov 2005
    Posts
    2
    fixed it.
    thks anyway

Similar Threads

  1. select statement
    By Pat in forum Database
    Replies: 7
    Last Post: 03-19-2002, 11:50 PM
  2. How do I find duplicate records?
    By Nancy in forum Database
    Replies: 2
    Last Post: 01-11-2002, 09:38 PM
  3. Some tricky SQL
    By Dave in forum VB Classic
    Replies: 9
    Last Post: 09-02-2001, 12:43 PM
  4. Get 10 months forward with select statment
    By Nirit Touboul in forum Database
    Replies: 7
    Last Post: 02-25-2001, 11:34 AM
  5. Check current users
    By Lia in forum ASP.NET
    Replies: 4
    Last Post: 08-09-2000, 02:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links