@if (newsinfolist != null && newsinfolist.Rows.Count > 0)
{
foreach (DataRow dr in newsinfolist.Rows)
{
@(dr["title"].ToString().Length > 18 ? dr["title"].ToString().Substring(0, 18) + ".." : dr["title"].ToString())@(DateTime.Parse(dr["addtime"].ToString()).ToString("yyyy-MM-dd"))
}
}
@if (gginfolist != null && gginfolist.Rows.Count > 0)
{
foreach (DataRow dr in gginfolist.Rows)
{
@(dr["title"].ToString().Length > 18 ? dr["title"].ToString().Substring(0, 18) + ".." : dr["title"].ToString())@(DateTime.Parse(dr["addtime"].ToString()).ToString("yyyy-MM-dd"))
}
}
@if (hdinfolist != null && hdinfolist.Rows.Count > 0)
{
foreach (DataRow dr in hdinfolist.Rows)
{
@(dr["title"].ToString().Length > 18 ? dr["title"].ToString().Substring(0, 18) + ".." : dr["title"].ToString())@(DateTime.Parse(dr["addtime"].ToString()).ToString("yyyy-MM-dd"))
}
}
@if (glinfolist != null && glinfolist.Rows.Count > 0)
{
foreach (DataRow dr in glinfolist.Rows)
{
@(dr["title"].ToString().Length > 18 ? dr["title"].ToString().Substring(0, 18) + ".." : dr["title"].ToString())@(DateTime.Parse(dr["addtime"].ToString()).ToString("yyyy-MM-dd"))
}
}