|
-
Feb 13th, 2008, 11:17 AM
#1
Thread Starter
Hyperactive Member
Dates
Hi. I have one question for you. I have a database and an application
and i am entering data into a database. At the moment I am using it wher the use enters the date but rather that that i want it to automatically enter the current date on their time thing.
SqlDataSource2.InsertCommand = "Insert Into Comments_tbl(CommentTitle, BlogId, Comment, CommentDate, CommentName, CommentEmail)Values('" & TextBox1.Text & "'," & Request.QueryString("Id") & ",'" & TextBox2.Text & "','" & TextBox5.Text & "','" & TextBox3.Text & "','" & TextBox4.Text & "') "
How would I do it. Any help would be appriciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|