日期:2014-05-20 浏览次数:21039 次
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table id="mytable" align="center" width="1000px">
<tr>
<td>
...
请选择图片:<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="Button1" runat="server" Text="上传图片和说明" OnClick="Button1_Click"
OnClientClick="return CheckPic();" Font-Bold="True" ForeColor="#009900" />
<asp:Label ID="MsgboxShow2" runat="server" Font-Bold="True" Font-Size="Small"
ForeColor="Red"></asp:Label>
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="button1" />
</Triggers>
</asp:UpdatePanel>