Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.net SQL and Dates

Status
Not open for further replies.

tsp1lrk

IS-IT--Management
May 30, 2001
103
US
Hello!

I'm working with ASP.net, SQL and Visual Studio.Net. I have a webform that displays the date. I want to take that date and insert it into a table in a SQL database and I can't seem to get it as a string or text that can be entered into the table- What would be the syntax on the webform itself to display the current date and then take that date and insert it into a database- I know it has to be a string or text, but I've been struggling because I'm new to ASP.net and Visual Studio- I'm using the Code-Behind page too so I'm not sure what is the correct way to do this- Any help is appreciated- I can always count on Tek-Tips for answers-

Lisa
UPS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top