By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,825 Members | 1,254 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,825 IT Pros & Developers. It's quick & easy.

Compare two arraylists with date values

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.