日期:2014-05-17 浏览次数:21002 次
foreach (YZZ.Model.urlManage url in list)
{
if (ht.Contains(url.value))
{
//已填
tr1 += string.Format(tr1, url.name, url.value);
}
else
{
//未填
try
{
tr2 += string.Format(tr1, url.name, url.value);
}
catch (Exception ex)
{
throw;
}
Random ran = new Random();
int RandKey = ran.Next(10, 99);
data += string.Format(xml, url.number + url.urlType + url.paihao, url.name, url.value, url.addTime, RandKey);