Monday, 15 May 2017

Set Default culture info in asp.net

//  Web.Config file

1.  Set Default cultue info using web.config file

<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" culture="en-US" uiCulture="en-US" />

2.  Set Default cultue info using Aspx Page

<%@ Page uiCulture="en-US" culture="en-US" %>

3.  Set Default cultue info using web.config using auto select

<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" culture="auto:en-US" uiCulture="auto:en-US" />

No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...