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...

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');

Thank u..it was helpful

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.