Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Compute the timespan between two listbox
Dan Villena
9y
680
1
Reply
Im trying to calculate the timespan between two list box.
Heres my code....
DateTime z = DateTime.Parse(listBox2.Items.ToString());
DateTime c = DateTime.Parse(listBox3.Items.ToString());
TimeSpan w = c - z;
listView1.Items.Add(w.ToString());
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
class inheritance
How to write Advanced Search and or value