How to design a matrix control in asp.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MSK

    How to design a matrix control in asp.net

    Hi

    I am trying to design a small WEB application to track the employees
    holiday/leave details using .Net technologies ( ASP.NET/ SQL server)

    The following are my ideas...

    in a web page

    - User can select the year/month and
    - I want to the have the following header info in a list control (like
    Datagrid, list view ...etc), and populate based on the month value


    - ROW header, the first row - should show all the months (Jan,
    Feb,....Dec)
    - Column header, the first column - should show the dates
    ( 1,2,3....31)
    - Column header, the second column - the leave session (morning or
    afternoon) for each date

    _______________ _______________ _______________ ____
    Jan | Feb | Mar ..............
    | Dec
    _______________ _______________ _______________ ____
    1 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____
    2 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____
    3 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____..
    ...
    ...
    31
    _______________ _______________ _______________ ____
    (just imagine this grid has vertical lines which makes cells for each
    entry)

    - Reason type in a dropdown list box
    - User can click the cell - to enter a leave entry based on the
    matrix, based on the reason I want to change individual cell
    background color
    - Save button to save the entry

    (After this - there are lot to do - like email notification,up dating
    calendar, approval from the manager) which I can do easily

    but I need to know how to design a list box to show the matrix values
    [like the above] also I don't know which control will be helpful
    [datagrid, listview..etc] ? can my requirements [like changing each
    cell value] be achievable ?

    Thanks
    MSK

Working...