<asp:Label ID="Label1" runat="server" Text='<%# (Eval("InvoiceDate") != DBNull.Value ? string.Format("0:MMM dd, yyyy}",DateTime.ParseExact(Eval("InvoiceDate").ToString(), "d.M.yyyy", System.Globalization.CultureInfo.InvariantCulture)) : Eval("InvoiceDate")) %>'></asp:Label>--%>
Thread.CurrentThread.CurrentCulture = new CultureInfo("cz-CZ"); // Displays dt, formatted using the ShortDatePattern // and the CurrentThread.CurrentCulture. Console.WriteLine(dt.ToString("d"));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)