主题:[原创]ASP大虾来!!!!!急要!!!在线等!!!!!!
[em2]我做了个ASP滚动公告栏
代码:(在sy.aspx页面写的)
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollAmount="2" hspace="0" vspace="0" scrollDelay="1" direction="up" behavior="scroll" style="WIDTH: 304px; HEIGHT: 200px">
<asp:DataList id="DataList2" runat="server">
<ItemTemplate>
<TABLE width="304">
<TR>
<TD vAlign="top" align="center"><A href='ggl.aspx? id=<%# DataBinder.Eval(Container.DataItem,"ypid") %>'>
<%# DataBinder.Eval(Container.DataItem,"ypmc") %></A>
</asp:Label></TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:DataList>
</marquee>
但是,我在跳转的页面后台怎么取到传过来的id值呢啊?
代码:(在sy.aspx页面写的)
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollAmount="2" hspace="0" vspace="0" scrollDelay="1" direction="up" behavior="scroll" style="WIDTH: 304px; HEIGHT: 200px">
<asp:DataList id="DataList2" runat="server">
<ItemTemplate>
<TABLE width="304">
<TR>
<TD vAlign="top" align="center"><A href='ggl.aspx? id=<%# DataBinder.Eval(Container.DataItem,"ypid") %>'>
<%# DataBinder.Eval(Container.DataItem,"ypmc") %></A>
</asp:Label></TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:DataList>
</marquee>
但是,我在跳转的页面后台怎么取到传过来的id值呢啊?