<asp:TemplateField HeaderText="百分比" >
<ItemTemplate>
<asp:Label ID="qq" runat="server" Text='<%# (Convert.ToInt32(Eval("A数量"))+Convert.ToInt32(Eval("B数量")))/Convert.ToInt32(Eval("总数"))%>'></asp:Label> </ItemTemplate>
</asp:TemplateField>欲实现如题 int32换double型么么?保留小数点后两位,以及加个%号
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货