??超难数据绑定??如何将System.IO.Directory.GetFiles(Server.MapPath("/Upload"))下所有文件绑定到datagrid???????????????
If Not IsPostBack Then
Dim i As Integer = 0
Dim files() As Object = System.IO.Directory.GetFiles(Server.MapPath("/Upload"))
Do While i <= System.IO.Directory.GetFiles(Server.MapPath("/Upload")).Length - 1
......
DataGrid1.DataSource =...
DataGrid1.DataBind()
Loop
请问如何在 ......中写语句使指定目录下的文件名,文件类型,文件尺寸,文件上传日期绑定到数据网格。谢谢!最后三十分了。