修改的数字我有一个变量大奖赛返回5998 7510 8144 9458 10916 13214
和这个名单必须改变59,98 75,10 81,44 94,58 109,16 132,14
我怎样才能做到这一点。也就是说,最后的2个位数(右一)每个数字的前面加上,
?在列表
这是C#代码到目前为止,我已经试过:
XDocument docxx = XDocument.Parse(Session["xmlrs" + z + ""].ToString());
//This now holds the set of all elements named field
try
{
XNamespace foobar = "http://www.april-technologies.com";
var prix = docxx.Descendants(foobar + "CotisationMensuelle").Select(x => new { CotisationMensuelle =(string)x}).ToList();
rpMyRepeater1.DataSource = prix;
rpMyRepeater1.DataBind();
}
catch(Exception ex) {}
和C#代码是:
<asp:Repeater ID="rpMyRepeater1" ItemType="" runat="server">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "CotisationMensuelle").ToString() %>
<br />
</ItemTemplate>
</asp:Repeater>
在这一点在此代码是你真正尝试添加的号码之间的逗号? –
最后两位数字(右起) – user3030806