asp.net中图片的放大和缩小,80分请你
<asp:DataList ID="DataList1" runat="server" BackColor="White" BorderColor="#999999"
DataKeyField="id" DataSourceID="SqlDataSource1"
Width="500px">
<ItemTemplate>
名称:
<asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>' Font-Size="XX-Large"></asp:Label><table style="width: 1265px; height: 514px">
<tr>
<td style="width: 302px">
区域:
<asp:Label ID="spaceLabel" runat="server" Text='<%# Eval("space") %>'></asp:Label></td>
<td rowspan="13" style="width: 302px">
<asp:Image ID="image1" runat="server" Height="452px" ImageUrl='<%# Eval("image") %>'
Width="724px" />
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
<div style="z-index: 101; left: 399px; width: 175px; position: absolute; top: 559px;
height: 62px">
<asp:Button ID="Button1" runat="server" Font-Size="XX-Large" Height="63px" OnClick="Button1_Click"
Text="缩小" Width="170px" /></div>
<div style="z-index: 102; left: 635px; width: 153px; position: absolute; top: 557px;
height: 66px">
<asp:Button ID="Button2" runat="server" Font-Size="XX-Large" ForeColor="Black" Height="63px"
Text="放大" Width="170px" /></div>
当我点击放大的时候,图片放大,在点击放大,图片在放大,点击图片放小的时候,放小,但是一开始不能点击放小,最小的适合就是原图,请问怎么在后台写代码!