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 -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -