Developer technologies | ASP.NET Core | Other
A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have the code like
to_dt_val = tb_valid_to.Text.Trim() + " 12:00:00 AM";
cmd4.Parameters.Add("@dt0", SqlDbType.DateTime).Value = DateTime.ParseExact(to_dt_val, to_dt_format, CultureInfo.InvariantCulture);
it is having the time (on the day) shown on the page. But the time part disappears when I put the cursor on the field and leave the field. How to resolve it?
A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.