Hi,
I have a variable "Amount" containing positive value and negitive value
I have 2 column with same name in asp.net datalist, one for positive values and one for negitive values.
i want that i check the value if value is negitive it should go in negitive column and if value is positive then it
should go in positive value column.
Here is asp.net code
<asp:DataList ID "dlist" runat="server">
<ItemTemplate>
<tr>
<td align="right"><%#Eval("Amount")%></td> // Positive value should go in this
<td align="right"><%#Eval("Amount")%></td> // negitive value should go in this
</tr>
</ItemTemplate>
</asp:DataList>
Looking for solution.
Regards
Nisar