Posted on: 5/6/2015 7:45:24 PM | Views : 623

I am working with GrideView with multiple columns, I am trying to set the value of a column to something based on a value of another column. I am trying to do this on the ASPX page (not code behind).
Here is my gridview:
<asp:GridView ID="gvIncidents" runat="server" AutoGenerateColumns="False" PageSize="20" CssClass="GridView" CellPadding="5" DataKeyNames="ID" OnSelectedIndexChanging="gvIncidents_SelectedIndexChanging" <Columns> <asp:TemplateField HeaderText="Open/Closed?"> <ItemTemplate> <%#Eval("Status").ToString())%> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText=" Message"> <ItemTemplate> ...

Go to the complete details ...