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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -