Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I having datetime field in my database.

I want to display date in my text box.

How to do.
Posted

1 solution

You will want to use ADO.Net. There are many examples online if you search for ADO.Net. You'll use the SqlConnection class as well as the SqlCommand and likely SqlDataReader. There are also many articles on this site if you search for them, http://www.codeproject.com/search.aspx?q=ado.net+winforms[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900