Hi,
I am reading a database which is returning a list of dates. I need to count the instances of each date and store in an array or similar.
I don't know how many dates I will be getting, or how many different ones.
In Perl I would so something like this
for(`getdata`){
$array{$1}++;
}
need something that looks like this:
while (dReader.Read() )
{
Array['dReader[0].ToString()']++;
}
Any ideas?
I am reading a database which is returning a list of dates. I need to count the instances of each date and store in an array or similar.
I don't know how many dates I will be getting, or how many different ones.
In Perl I would so something like this
for(`getdata`){
$array{$1}++;
}
need something that looks like this:
while (dReader.Read() )
{
Array['dReader[0].ToString()']++;
}
Any ideas?
Comment