469,962 Members | 2,885 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,962 developers. It's quick & easy.

Compare two arraylists with date values

First i have two stored procedures, i have passed the values of each
one into two different arraylists of dates. how can i compare the two
arraylists of dates?

Thanks in advance

Nov 17 '05 #1
1 2383
godsella,

How do you want to compare them? You want to see if they are the same?
If that's the case, I would check the lengths of each of them. If they are
not the same, then they do not match. If they are the same, sort each list,
and cycle through the lists, checking the dates at each index. If any of
them do not match, then stop the operation, as they do not match.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<go******@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
First i have two stored procedures, i have passed the values of each
one into two different arraylists of dates. how can i compare the two
arraylists of dates?

Thanks in advance

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Hi I | last post: by
4 posts views Thread by Gaby | last post: by
7 posts views Thread by Prabhudhas Peter | last post: by
12 posts views Thread by Assimalyst | last post: by
4 posts views Thread by Andy in S. Jersey | last post: by
3 posts views Thread by irobot | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.