943,962 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 2555
  • VB.NET RSS
Mar 28th, 2006
0

How to store in to Database

Expand Post »
Slam evey one...
i have question i hope i find its answer here.....
i want to read date from datatimepicker that user select then store value in database i know how to connect to database and how to get value from datetimpicker but need to know how to store it

Thanx...
Similar Threads
Reputation Points: 37
Solved Threads: 17
Junior Poster
manal is offline Offline
122 posts
since Mar 2006
Mar 29th, 2006
0

Re: How to store in to Database

Quote originally posted by manal ...
Slam evey one...
i have question i hope i find its answer here.....
i want to read date from datatimepicker that user select then store value in database i know how to connect to database and how to get value from datetimpicker but need to know how to store it

Thanx...
if you are using MS Access database then in insert query you need to specify '#' keyword.
For example : insert into tbl1 values (#date1#,'name','etc');

if database is other than MS Access then above query changes to
insert into tbl1 values ('date1','name','etc');
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Mihir3000 is offline Offline
5 posts
since Mar 2006
Mar 29th, 2006
0

Re: How to store in to Database

Thank u..it was helpful
Reputation Points: 37
Solved Threads: 17
Junior Poster
manal is offline Offline
122 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: unresolved external symbol _WinMainCRTStartup
Next Thread in VB.NET Forum Timeline: AD Password Reset Code





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC