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
Mak
NA
6
2.7k
How to divide single column in two different column's on bas
May 13 2013 12:19 PM
I have one column named as Time with another column named as ID.
I want to divide the column Time in two different columns as InTime & OutTime.
But the important thing is that if the count of that ID present in a ID column is even, the corresponding value present at that ID of column Time will be inserted in a column named as OutTime & if the count of that ID is odd the corresponding value present at that ID of column Time will be inserted in a column named as InTime.
I want the data when ID's are same.Because I want to divide the time in two different column on the basis of ID.
ie if values are like this
Insert #temp values(1,'09:30')
Insert #temp values(1,'12:30')
Insert #temp values(1,'18:30')
I want data as
ID Intime Outtime
1 09:30 12:30
1 Null 18:30
Please Reply..
Its Urgent..
Please help me as I'm new in this field.....
THANK YOU in Advance.
Reply
Answers (
0
)
How to retrive & display table in JqGrid using MVC3
Asp.Net Textbox(AlphaNumeric)