Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Locale Settings

    Hi there,

    I want my datagrid to display date in the UK format (dd/MM/yyyy), the server
    is set up to UK settings, but I am guessing the aspnet user has US settings
    ( i use the format expression {0:d}). How do I go about changing these, as
    I do not know the aspnet user's password. Currency also comes out as $ not
    £.

    Any ideas?

    Cheers, Carl
    [email]carl.howarth@m-s-solutions.co.uk[/email]


    Carl Howarth Guest

  2. Similar Questions and Discussions

    1. #28793 [Asn->Csd]: php.ini settings should be able to read other php.ini settings
      ID: 28793 Updated by: andrei@php.net Reported By: bero at arklinux dot org -Status: Assigned +Status: ...
    2. #38785 [Opn]: float to string cast is always subject to locale settings
      ID: 38785 User updated by: m dot kurzyna at crystalpoint dot pl -Summary: stripslashes is setlocale aware - decimal point...
    3. Settings wont stay changed in Settings manager
      I keep trying to change the settings for my flash player but they never stay changed. It just keeps going back to the default settings. What do i...
    4. [PHP-DEV] Locale
      I wonder if it is "by design" that PHP don't read all LC_* settings from environment. In main/main.c we read LC_CTYPE only. I think at least...
    5. Date Format for other locale settings SQL Server
      Hello, I have problems with Storing Dates into SQL Server. I am using ASP 3.0 to do so. When I change my locale settings to "Chinese - Taiwan"....
  3. #2

    Default Re: Locale Settings

    Login as an admin and set the UK locale as system default... Or hard code
    your locale in each page in the @page directive, either with LCID or
    UICulture attribute.

    Jerry

    "Carl Howarth" <carl.howarth@m-s-solutions.co.uk> wrote in message
    news:%23asmj4BYDHA.1900@TK2MSFTNGP10.phx.gbl...
    > Hi there,
    >
    > I want my datagrid to display date in the UK format (dd/MM/yyyy), the
    server
    > is set up to UK settings, but I am guessing the aspnet user has US
    settings
    > ( i use the format expression {0:d}). How do I go about changing these,
    as
    > I do not know the aspnet user's password. Currency also comes out as $
    not
    > £.
    >
    > Any ideas?
    >
    > Cheers, Carl
    > [email]carl.howarth@m-s-solutions.co.uk[/email]
    >
    >

    Jerry III Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139