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
Apurva Singh
NA
268
56.9k
Get Min time and Max time from datatable date in C#
Oct 9 2020 3:38 AM
I Have a datatable in which itwo column Datetime and userid.
I have to get maxtime and min thime with where condition date and userid in C#
I am using this query
DateTime OutDateTime = Convert.ToDateTime(record.Compute("MAX(DateTime)", "UserId='" + enrNo + "' and Tdate='" + DateTimee + "'")); DateTime InDateTime = Convert.ToDateTime(record.Compute("MIN(Tdate)", "UserId='" + enrNo + "' and Tdate='" + DateTimee + "'"));
Please help me
Reply
Answers (
4
)
DISABLE RSVP actions in the Microsoft teasm
Please explain .Net core Request Response Cycle.