Sunday, 27 January 2013

You need to ensure that dates and numbers are displayed correctly for each user based on location. Which code segment should you add to line GL08 of the Global.asax file?



·         CultureInfo info = (CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone();
info = CultureInfo.CreateSpecificCulture(culture);
·         System.Globalization.CultureInfo cultureInfo = cultureInfo.GetCultureInfo(culture);
System.Threading.Thread.CurrentThread.CurrentUICulture = cultureInfo;
·         System.Globalization.CultureInfo cultureInfo = cultureInfo.CreateSpecificCulture();
(culture);System.Threading.Thread.CurrentThread.CurrentUICulture = cultureInfo;


·         Dim cultureInfo As System.Globalization.CultureInfo =
New System.Globalization.CultureInfo(culture)                             System.Threading.Thread.CurrentThread.CurrentCulture = cultureInfo

No comments:

Post a Comment