select * from db_Article where dateandtime >= dateadd("m",-1,getdate())
function mhEnter()
{
window.event.srcElement.className="lt1";
}
function mhLeave()
{
window.event.srcElement.className="lt0";
}
=================
<%#((DateTime)DataBinder.Eval(Container.DataItem,"dateandtime")).ToShortDateString()%>
DataBinder.Eval 取得的数据为数据库原始类型
联表查询
select D.*,c.* from db_Article C inner join db_fClass D on C.classname=D.classname where C.classname='zjnu'
转载于:https://www.cnblogs.com/longhorn008/archive/2005/08/26/223765.html