I am very new to asp.net and am looking for a tutorial/s to help me generate a webpage as follows.
---psudocode---
thanks for any direction you can give.
---psudocode---
Code:
for (i = current.year; i >= 1999 ; i--){
print <h1>i</h>;
for (m = 1; m =< 12; m++){
if (myDataArray = get_year_&_month_records(y,m)){
print <h2>m</h2>;
print myDataArray;
}
}
}
sub get_year_&_month_records{
theArray[] = query db for records with matching year, month in asend order
if (theArray > 0){
return theArray;
}
return 0;
}