方法一:
<dx:ASPxSpinEdit ID="edTable_tbInprice" runat="server" Number='<%# Eval("INPRICE") !=null ? decimal.Parse(Eval("INPRICE").ToString()) : 0%>' MinValue="0" MaxValue="99999999999" DisplayFormatString="c" Width="100px"></dx:ASPxSpinEdit>
方法二:
<dx:ASPxSpinEdit ID="edTab1_aprice" runat="server" DisplayFormatString="c" Text='<%# Eval("APRICE")%>' Width="100%" MinValue="0" MaxValue="99999999" LargeIncrement="1">
<SpinButtons ShowIncrementButtons="False" ShowLargeIncrementButtons="True" />
</dx:ASPxSpinEdit>