写写程序,一种成就的感觉

写写程序,一种成就的感觉

导航

2009年6月11日

摘要: foreach (DataRow dr in dt.Rows){ body += dr["ProName"].ToString().Trim()+","; toprice += Convert.ToDouble(dr["TotalPrice"]); if(dt.Rows.IndexOf(dr)==dt.Rows.Count-1){ //最后一行 }} 阅读全文

posted @ 2009-06-11 15:53 hateyoucode 阅读(3379) 评论(0) 推荐(2)