Dashboard display

Discussion in 'Visual C++ .Net' started by DN Admin, Apr 27, 2012.

  1. DN Admin

    Staff Member

    Joined:
    Aug 7, 2010
    Location:
    Joliet, IL U.S.A.
    Hi,
    I have a requirement to display all the activities scheduled in a calendar year to be displayed in a dashboard / tabular format, where the name of the months form the name of the columns and the days of the month form the reference to the
    rows. So, I've created a ASP:Table foe it and defined the ASP:tablerows and ASP;Tablecells and placed a label in every ASP:tablecell and am using a logic to zero in on the label's ID and setting its text using the following lines, where dummy2 and str
    are strings. str stores the activity to be displayed and dummy2, the id of the label where the activity name needs to be displayed.
    <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small
    Label
    <a> <a> </span></span></span><span style="font-size:small <span style="font-size:small lbl7 = (</span></span><span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small Label</span></span></span><span style="font-size:small <span style="font-size:small )FindControl(dummy2);<a> </span></span><span style="font-size:small <span style="font-size:small </span></span><span style="font-size:small <span style="font-size:small
    lbl7.Text = str;
    Is there a more efficient way of doing this?
    </span></span>

    View the full article
     
    #1

Share This Page