我必須在我的網頁上設置一個進度條,在從下拉列表中選擇任何驅動器信息時會顯示已用空間和可用空間。我怎樣才能做到這一點。可以任意1給我的代碼進度條問題
這是我的aspx代碼。
<fieldset style="width:1000px">
<legend> Drive Info </legend>
<table style="width:100%;">
<tr>
<td>
<asp:Label ID="Label1" runat="server" Text="Select Drive" ></asp:Label>
</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" onselectedindexchanged="DropDownList1_SelectedIndexChanged"
AutoPostBack="True" Height="24px" ondatabinding="Page_Load" ondatabound="Page_Load"
Width="189px" ViewStateMode="Enabled" AppendDataBoundItems="True">
<asp:ListItem Selected="True">--Select--</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Disk Name"></asp:Label>
</td>
<td>
<asp:Label ID="Label8" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="Used Space"></asp:Label>
</td>
<td>
<asp:Label ID="Label9" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label4" runat="server" Text="Free Space"></asp:Label>
</td>
<td>
<asp:Label ID="Label10" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label5" runat="server" Text="Volume Name"></asp:Label>
</td>
<td>
<asp:Label ID="Label11" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label6" runat="server" Text="System Name"></asp:Label>
</td>
<td>
<asp:Label ID="Label12" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label7" runat="server" Text="TotalSize"></asp:Label>
</td>
<td>
<asp:Label ID="Label13" runat="server" Text="Label"></asp:Label>
</td>
</tr>
</table>
<%--<table border='0' cellspacing='0' cellpadding='0' height='10px' style="background-color:#B5CCFF" >
<tr>
<td height='20px' width='5' style="background-color:Blue"></td>
<td width='5' style="background-color:Blue"></td>
<td width='5' style="background-color:Blue"></td>
<td width='5' style="background-color:Blue"></td>
<td width='5' style="background-color:Blue"></td>
<td width='5' style="background-color:Blue"></td>
<td width='5' style="background-color:Blue"></td>
<td width='5' style="background-color:Blue"></td>
<td width='5' style="background-color:Blue"></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
<td width='5'></td>
</tr>
</table>--%>
PLZ我迫切需要一個解決方案。如果有的話可以幫助 – anasooya 2011-03-31 08:39:20
你自己嘗試過什麼嗎? – 2011-03-31 08:52:26
您是否正在查找服務器磁盤或客戶端的驅動器信息? – 2011-03-31 08:53:59