Presentation Layer (developer) challenges

Last post 06-28-2007 3:47 PM by Mikesdotnetting. 1 replies.

Sort Posts:

  • Presentation Layer (developer) challenges

    06-28-2007, 11:32 AM
    • Loading...
    • seidensc
    • Joined on 06-28-2007, 1:39 PM
    • Posts 46

    Hi All,
    I am new to ASP.net and Framework 2.0 but have been working on console VB applications for some time. I would like to produce the listing below from an ASP.NET application. Currently, I have set up a Data Access Layer (including a data adapter) and a Business Logic layer. Both are up and running with base functionality at this point in time.

    In the presentation layer I am struggling with the type of Data object I should use to display my results; GridView, DataList, DetailsView, FormView, Repeater, or some other means such as incorporating a style sheet?  I have ruled out DetailsView and FormView because they present one record at a time although I'm not sure if they can be used within other constructs.

    The requirements of the project include not having a visible grid, and, as you can see credits are sub totaled at the beginning of each semester and totaled at the end. If an alternate course exists an "or" line is displayed and then the alternate lookup is completed to obtain the alternate course.  What you can't see from the listing below is that the semesters will vary; there may be 2, 4, 8, etc. requiring multiple pages.  Also, the short description field, i.e., Nursing 101, contains a link which will display a long description in a ContentPlaceHolder at the bottom of the screen.  My thoughts are that this link will be bound via a look up to the long description information in the database.  So in summary the semester information would be repeating from 1 to x times including a header that provides total credits.  After all semesters are displayed a footer line would display the total credits. 

    Can you provide any suggestions to be able to construct the results in this format? Examples are always welcome!  Thanks in advance for any assistance that you can provide.

    Steve

    Nursing
    (Nursing Porgram Description)

    First Semester                     (12 Credits)
    10110101     Nursing 101      2
    10110102     Nursing 102      4
    10110103     Nursing 103      4
    10120101     GenEd 101       2 
                       or
    10120102     Speech            2


    Second Semester                (12 Credits)
    10110201     Nursing 201      2
    10110202     Nursing 202      2
    10110203     Nursing 203      4
    10110204     Nursing 204      4

    Third Semester                    (12 Credits)
    ...

    Fourth Semester                  (12 Credits)
    ... 

                          Total Credits: 48

  • Re: Presentation Layer (developer) challenges

    06-28-2007, 3:47 PM
    Answer

    You can nest multiple databound controls.  As far as appearance is concerned, you can use the properties panel to set the design, but if you have the time, you should get to know CSS and apply your own styles.

    Regards Mike
    [MVP - ASP/ASP.NET]
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter