这段代码永远不会填满网格视图我知道这里的代码有问题
Imports System.Data
Imports ZidduDataSetTableAdapters
Partial Class _Default
Inherits System.Web.UI.Page
Dim filesAdp As New FilesTableAdapter
Dim filestable As New ZidduDataSet.FilesDataTable
Protected Sub btnfill_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnfill.Click
Me.GridView1.DataSource = filesAdp.GetData
Me.GridView1.DataBind()
End Sub
End Class
我已经使用名为 ZidduDataSet.xsd 的向导创建了数据集,适配器名称为 FilesTableAdapter
有人可以帮忙吗?