Changing value 1 to Pending/2 to Submit/etc. in my Multicolumn Header Grid that is Created Dynamically

1 posts, 0 answers
  1. RJ
    RJ avatar
    395 posts
    Member since:
    Oct 2006

    Posted 18 Jan 2017 Link to this post

    Hi All,

    How can I change value 1 to Pending/2 to Submit/etc. in my Multicolumn Header Grid that is Created Dynamically.

    before I'm just using this code to my template in aspx:

    <asp:Label ID="lblStatus" Runat="server" Font-Size="Medium" Text='<%# FormatStatus(DataBinder.Eval(Container.DataItem, "Status"))%>'

    Now how to apply this in codebehind with my grid which is created dynamically

    My grid looks like this

    ----------------------------------------------------------------------------------------------

                                              Task1                             Task2

    Project Name             Status         Date             Status         Date 

    -----------------------------------------------------------------------------------------------

    Project 1                       2            1/1/2017              1

    ------------------------------------------------------------------------------------------------

     

    Thanks in advance,

    RJ

     

Back to Top