sql - How to Show date in textbox which type is date in asp.net -


how show date in textbox database.textbox type "date". in asp.net

you need convert value datetime, convert again string. this:

_txtcoatorderdate.text = ((datetime)dt.rows[i]["coat_custm_date"]).tostring("dd/mm/yyyy"); 

Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -