Control
Calendar: calendaring control but HTML code is too big to fit
fileupdate: File Upload
HiddenField: Hidden fields
image: images can be written directly to URLs that are not available for HTML code
table: Table Not applicable
Verify that the class login class comes with controls that do not use
"Repeater":
HeaderTemplate -execute again at load start
ItemTemplate -how Many data are executed and how many times
FooterTemplate -executed at the end of the load
alternatingitemtemplate -alternating Item Template
<% #Eval ("fields required")%> : Dynamic Web pages provide symbols for dynamic Data
<%@ Page language="C #"autoeventwireup="true"codefile="Lianxi.aspx.cs"inherits="Lianxi"%><! DOCTYPE html>"http://www.w3.org/1999/xhtml">"Server"><meta http-equiv="Content-type"Content="text/html; Charset=utf-8"/> <title></title>"Form1"runat="Server"> <asp:repeater id="Repeater1"runat="Server"> <HeaderTemplate> <table style="Background-color:navy;text-align:center"> <tr style="color:white;padding:10px;"> <td>UserName</td> <td>PsssWord</td> <td>NickName</td> <td>Sex</td> <td> ; birthday</td> <td>Nation</td> </tr> "Background-color:yellow"> <td><% #Eval ("UserName")%></td> <td><% #Eval ("PassWord")%></td> <td><% #Eval ("Nickname")%></td> <td><% #Eval ("Sex")%></td> <td><% #Eval ("Birthday")%></td> <td><% #Eval ("Nation")%></td> </tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater> </form>< /body>Light Bar Effect:
<script type="Text/javascript">window.onload=function () {varItems = Document.getelementsbyclassname ("Tr_item"); varOldcolor =""; for(vari =0; I < items.length; i++) {items[i].onmouseover=function () {oldcolor= this. style.backgroundcolor; this. Style.backgroundcolor ="Yellow"; }; Items[i].onmouseout=function () { this. Style.backgroundcolor =oldcolor; }; } }; </script>WebForm Control (ii)