All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
总结经典常用的SQL语句(2)_[SQL Server教程]
脚本实例:用,javascript,来操作字符串_JavaScript技术_编程技术
SQL Server 索引基础知识(4)----主键与聚集索引_[SQL Server教程]
Visual C++ 6.0教程:C++主要特点
几个比较有用的正则表达式_php资料_编程技术
.NET,vs,J2EE——面对SOA的荒谬与误解_.net资料_编程技术
动态网页制作PHP中Session的概念_php资料_编程技术
Visual,Studio.NET,安装错误_.net资料_编程技术
asp.net2.0对DataList数据控件进行绑定
PhpMyAdmin中无法导入sql文件的解决办法_php资料_编程技术
Reading number is top 10 pictures
战场废物1
Take you to walk into the most true north Korea rural1
2012 national geographic daily picture1
The real super beauty4
007 James. bond's new lover
Beauty shocked Japan Tokyo motor show model
Born After 90 Beijing sports university campus flower photos4
The real super beauty10
Born After 90 Beijing sports university campus flower photos2
Terrorist smile the largest human history an explosion2
Download software ranking
软件工程思想
金山office2007
c#程序设计案例教程
双旗镇刀客A
Boxer vs Yellow3
Unix video tutorial4
asp.net技术内幕
Unix video tutorial7
美女写真3
Unix video tutorial18
归海一刀 published in(发表于) 2014/1/30 1:34:22 Edit(编辑)
实现在新闻标题后加new图片_[Asp.Net教程]

实现在新闻标题后加new图片_[Asp.Net教程]

实现在新闻标题后加new图片_[Asp.Net教程]
asp.net2.0中,使用gridview显示新闻标题,如何在当日新加新闻的标题后加一个new图片?

在后台或者公共类Common写如下类

public static string News_Pic(DateTime T)
{
if (T.Date == DateTime.Now.Date)
{
return \"Images/New.gif\"; ;
}
else
{
return \"Images/No.gif\";
}
}

前台页面调用

模板里调用\" width=\"22\" height=\"9\" />




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.