TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Goran Bibic
482
2.9k
197.8k
Datetimepicker format insert into sql problem
May 9 2018 3:06 AM
Datum sql format is date
Vrijeme poziva is sql format time(7)
"INSERT INTO dbo.registar (datum, vrijeme_poziva)"
+
" VALUES ('"
+ datumDateTimePicker.Value.Date.ToString(
"yyyyMMdd"
) +
"', '"
+ vrijeme_pozivaDateTimePicker.Value.TimeOfDay.ToString(
"HHmmss"
) +
"')"
;
Working fine but in datagrid have values
09.05.2018 00:00:00
09:51:32.25655565
In sql value is 2018-05-09
09:51:32.25655565
I need
09.05.2018
09:51:32
Some help?
Reply
Answers (
2
)
Dot matrix printer paper ejection problem..need solutions
How to add a text to Word document with font color using C#