繁体中文
设为首页
加入收藏
当前位置:.Net技术首页 >> Asp.Net开发 >> 用Asp.net实现基于XML的留言簿之三(下)

用Asp.net实现基于XML的留言簿之三(下)

2007-04-15 08:00:00  作者:  来源:互联网  浏览次数:0  文字大小:【】【】【
简介:< body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" rightmargin="0" > < !-- #Include File="header.inc" -- > < ASP:label id="errmess" text="" style="color:#FF0000" runat="server" /...
关键字:留言簿 基于 XML net Asp

< body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" rightmargin="0" >

< !-- #Include File="header.inc" -- >

< ASP:label id="errmess" text="" style="color:#FF0000" runat="server" / >

< br >

< h3 align="center" class="newsbody" >我的留言簿< /h3 >

< ASP:Repeater id="MyDataList" runat="server" >

< headertemplate >

< table class="mainheads" width="100%" style="font: 8pt verdana" >

< tr style="background-color:#FF9966" >

< th >

姓名

< /th >

< th >

国家

< /th >

< th >

Email

< /th >

< th >

留言

< /th >

< th >

日期/时间

< /th >

< /tr >

< /headertemplate >

< itemtemplate >

< tr style="background-color:#FFFFCC" >

< td >

< %# DataBinder.Eval(Container.DataItem, "Name") % >

< /td >

< td >

< %# DataBinder.Eval(Container.DataItem, "Country") % >

< /td >

< td >

< %# DataBinder.Eval(Container.DataItem, "Email") % >

< /td >

< td >

< %# DataBinder.Eval(Container.DataItem, "Comments") % >

< /td >

< td >

< %# DataBinder.Eval(Container.DataItem, "DateTime") % >

< /td >

< /tr >

< /itemtemplate >

< footertemplate >

< /table >

< /footertemplate >

< /ASP:Repeater >

< !-- #Include File="footer.inc" -- > < /body >< /HTML >

责任编辑:admin
相关文章