dotnetCHARTING Send comments on this topic.
DatabaseCultureName Property
See Also  Example
dotnetCHARTING Namespace > DataEngine Class : DatabaseCultureName Property


Gets or sets the culture name used when StartDate and EndDate insert to the sql statement. This property only necessary to set if the web server and database server having different culture setting.

Syntax

Visual Basic (Declaration) 
Public Property DatabaseCultureName As String
Visual Basic (Usage)Copy Code
Dim instance As DataEngine
Dim value As String
 
instance.DatabaseCultureName = value
 
value = instance.DatabaseCultureName
C# 
public string DatabaseCultureName {get; set;}

Example

C#Copy Code
de.DataBaseCultureName = "en-GB"; 
    
Visual BasicCopy Code
de.DataBaseCultureName = "en-GB"

Remarks

See the CultureInfo class for possible names of a culture.

See Also