Monday, April 4, 2011

Weekly report with weekly date selection

     In my previous post, I had used the calendar extender to show days by weeks upon selection, Using the same thing, I used it to generate a weekly report.
     Upon selection of the date the corresponding week is automatically selected and linkbuttons show the next and previous weeks.
     Upon first selection, the textbox (showing the selected week) is populated by JavaScript and so are the links, when report generation is done all the dates are on the server, hence, after the first selection, things are done from the server in C#.
     I use the NorthWind database's OrderDetails table. You can get the sample database script from here.

and ofcourse you can download the source from here

No comments:

Post a Comment