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

ios - Assigning a value out of array of arrays, using section in Xcode -

javascript - Website analyzer -