当前位置:编程学习 > C#/ASP.NET >>

关于ASP.net中String的循环???

--------------------编程问答-------------------- 在后台组装好,前台再显示 --------------------编程问答-------------------- if(!IsPostBack)
{
    GetList_images();

} --------------------编程问答-------------------- 用for循环啊 --------------------编程问答-------------------- 你要在dr上做循环
strBody =="";

for(int i=0;i<dr.Count;i++)
{
    strBody += Convert.ToString("flash/images/" + dr[i]["content_images"] + "|");

}

这样应该就ok了 --------------------编程问答-------------------- Asp.net夜话之二:asp.net内置对象 

通过循环输入九九乘法表的例子,你看看吧,一看就会。 --------------------编程问答--------------------
引用 3 楼 junior_yuan 的回复:
用for循环啊


成功了。

谢谢各位大虾指点!!!
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,