G
Guest
I need to stuff an array with information from a database/DataReader in such
a way that the array will read the day of an event; ie,
M=13
string EventArray=new String[M][];
EventDay=(DateTime)DataReader["_Date"];
for(int n=0;n<M;n++){
EventArray[n]=new String[mn];
for(int nm; nm<32;nm++){
EventArray[n][mn]=DataReader["EventTitle"]
}
}
I don't know if that is correct but if someone can tell me or guide me to a
tutorial that will help I'll greatly appreciate it.
All I want to do is stuff the contents of the DataReader into an array so
that the dates are recognized.
Thank you
a way that the array will read the day of an event; ie,
M=13
string EventArray=new String[M][];
EventDay=(DateTime)DataReader["_Date"];
for(int n=0;n<M;n++){
EventArray[n]=new String[mn];
for(int nm; nm<32;nm++){
EventArray[n][mn]=DataReader["EventTitle"]
}
}
I don't know if that is correct but if someone can tell me or guide me to a
tutorial that will help I'll greatly appreciate it.
All I want to do is stuff the contents of the DataReader into an array so
that the dates are recognized.
Thank you