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
Select date from sql specified format c#
Jun 5 2018 2:55 PM
Select date from sql specified format?
string date =
""
;
using
(SqlConnection openCon =
new
SqlConnection(cs))
{
SqlDataReader reader;
SqlCommand cmd =
new
SqlCommand();
cmd.CommandText =
"select datum from mp_racun_lista where id="
+ id_fakture;
cmd.Connection = openCon10;
openCon.Open();
reader = cmd.ExecuteReader();
while
(reader.Read())
{
date = reader[0].ToString();
}
openCon.Close();
}
Reply
Answers (
4
)
When update duplicate rows inserted
in C# programming