Arrays and DataReader

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Hey Jason,

Thank you for replying. I corrected the problem by seting the date string
to the universal format {YYYY,mm, dd}
 
Somewhat. I'm new to ASP.NET and C# so I'm always having problems but I'm
putting an conserted effort into putting together a clean app.
 
Back
Top