Datagrid
' > ' forecolor= ' #ff7f66 ' font-italic= "True" > Put Datadrid in Marquee, note that if you want to put in a TD, the length of TD to set the
<<marquee scrollamount= "3" scrolldelay= "0" direction= "Up" height= ">>"
<asp:datagrid id= "Dgnews" runat= "width=" autogeneratecolumns= "False" borderwidth= "0" height= "100" Showheader= "False" >
<Columns>
<asp:templatecolumn headertext= "News content" >
<itemstyle width= "70%" ></ItemStyle>
<ItemTemplate>
<asp:label id= "Label10" text= ' <% #DataBinder. Eval (Container.DataItem, "Xxsm")%> ' runat=server/>
(
<asp:label id= "Label5" font-italic=true text= ' <% #DataBinder. Eval (Container.DataItem, "Xgrq")%> ' forecolor= #ff7f66 runat=server/>
)
<asp:image id= "Newpic" runat= "Server" imageurl= "images/main/new.gif" "width=" height= "one" ></asp:image >
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>
<</MARQUEE>>