1. On Saturday September 3RD, 2016 this community will be shutdown permanently.

    The time has come to close this community. I no longer have any interest in Visual Studio programming and my efforts to find someone to take over the community has failed.

    If anyone is interested in acquiring the database contact me and I will make it available for you.

Dashboard display

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

  1. DN Admin

    DN Admin Administrator
    Staff Member

    Country:
    United States
    Joined:
    Aug 7, 2010
    Messages:
    12,048
    Likes Received:
    258
    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 style="font-size:small <span style="font-size:small lbl7 = (<span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small Label<span style="font-size:small <span style="font-size:small )FindControl(dummy2);<a> <span style="font-size:small <span style="font-size:small <span style="font-size:small <span style="font-size:small
    lbl7.Text = str;
    Is there a more efficient way of doing this?


    View the full article
     

Share This Page