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
rus tan
NA
52
11.1k
instead of now i want the details keyed in the form
Oct 24 2019 9:22 PM
string insert =
@"INSERT INTO Leave( LeavesTaken,Days,Reason,StartDate,EndDate,Status,UserId, Ishalfday) VALUES
( '{0}', '{1}', '{2}','" + DateTime.Now.ToString("yyyy-MM-dd") + "','" + DateTime.Now.ToString("yyyy-MM-dd") + "', 0,'{3}',0)";
how do i change instead of now simply just convert it to string
Reply
Answers (
1
)
start date end date validation
how create a form of bank deposit menu and codes