}
//组建新的行
tr=new TableRow();
td=new TableCell();
td.Controls.Add(new LiteralControl(FilePic+" "+FileName));
tr.Cells.Add(td);
td=new TableCell();
td.Controls.Add(new LiteralControl(FileSize.ToString()));
tr.Cells.Add(td);
td=new TableCell();
td.Controls.Add(new LiteralControl(FileModify.ToString()));
tr.Cells.Add(td);
tbDirInfo.Rows.Add(tr);
}
}
</script>
<body>
<form id="Form1" runat="server">
请选择浏览目录:<asp:TextBox ID="tbCurrentDir" runat="server" /><br>
当前目录为:<asp:label ID="lblCurrentDir" runat="server" /><br>
<asp:table ID="tbDirInfo" Font-Size="9pt" runat="server" /><br>
</form>
</body>
</html>