G
Guest
Hi there,
I would like to change the text of the ButtonColumn after datagrid binding,
depending on the value of a certain field. (eg. Text="Details" for case 1,
Text="others' for case 2)
Is it possible to do so?
<asp:datagrid id="dgList" runat="server" Width="890" BorderStyle="None"
GridLines="Both" BorderWidth="1px" ...
<asp:ButtonColumn Text="Details" CommandName="Select"
ItemStyle-VerticalAlign="Top" ItemStyle-Width="40"></asp:ButtonColumn>
Thanks.
I would like to change the text of the ButtonColumn after datagrid binding,
depending on the value of a certain field. (eg. Text="Details" for case 1,
Text="others' for case 2)
Is it possible to do so?
<asp:datagrid id="dgList" runat="server" Width="890" BorderStyle="None"
GridLines="Both" BorderWidth="1px" ...
<asp:ButtonColumn Text="Details" CommandName="Select"
ItemStyle-VerticalAlign="Top" ItemStyle-Width="40"></asp:ButtonColumn>
Thanks.