This is a migrated thread and some comments may be shown as answers.

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

0 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
RJ
Top achievements
Rank 1
RJ asked on 18 Jan 2017, 11:36 AM

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

 

No answers yet. Maybe you can help?

Tags
Grid
Asked by
RJ
Top achievements
Rank 1
Share this question
or