Tornado API Library - V12.30.08

z.dbCulture Property

Specify the Culture info such that the culture related info will be displayed correctly.

Product Version

All
[VisualBasic]
PublicPropertydbCultureAsString
[C#]
publicstringdbCulture{set;}

Property Value

Obj.dbCulture="SQLCultureName, UserCultureName" (See Culture code)

KeywordDescription
SQLCultureNameDatabase culture code.
UserCultureNameApplication culture code.

QuickProp Keyword Abbreviation

cu

Remarks

The same effect can be obtained by declaring globally in the web.config file under the root directory as -

<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB"/>

Example

MyDb.dbCulture="en-GB"

See Also

z Class | Tornado Namespace | Special Topic - Culture