摘要:
aspx <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Label ID="lblImg" runat="server" Text=""></asp:Label> cs using System.IO; public void get 阅读全文
posted @ 2016-04-22 14:12
&慧&
阅读(1249)
评论(0)
推荐(0)
摘要:
.aspx <asp:DropDownList ID="DropDownList1" runat="server" DataValueField="infoID" DataTextField="Dtitle"> <asp:ListItem> </asp:ListItem> </asp:DropDow 阅读全文
posted @ 2016-04-22 11:36
&慧&
阅读(1992)
评论(0)
推荐(0)
摘要:
aspx <asp:DropDownList ID="ddlUserType" runat="server" Width ="100px"><asp:ListItem Value = "1" Text = "网格长">网格长</asp:ListItem><asp:ListItem Value = " 阅读全文
posted @ 2016-04-22 10:03
&慧&
阅读(3012)
评论(0)
推荐(0)
摘要:
1.Eval限制字数 <%# Eval("title").ToString().Length > 16 ? Eval("title").ToString().Substring(0, 16) + "..." : Eval("title")%> 2.Eval做判断 2.1与值做判断 <%# Eval( 阅读全文
posted @ 2016-04-22 10:00
&慧&
阅读(3143)
评论(0)
推荐(0)
摘要:
DropDownList1.Item.Inset(0,"李四");//这是插入第一个值为李四;DropDownList.Items.FindByValue("李四").selected = true;//这是调用findbyvalue方法指定初始值; 阅读全文
posted @ 2016-04-22 09:58
&慧&
阅读(220)
评论(0)
推荐(0)
摘要:
DIV加上 zoom:1;overflow:hidden; 阅读全文
posted @ 2016-04-22 09:56
&慧&
阅读(1867)
评论(0)
推荐(0)

浙公网安备 33010602011771号