再次请教了!!!!
Dim dsgoods As New DataSet("goods")Dim filePath As String
filePath = "C:\Documents and Settings\少钦\My Documents\Visual Studio Projects\Web\goods.xml"
dsgoods.ReadXml(filePath)
With DataGrid1
.DataSource = dsgoods
.DataMember = "good"
.CaptionText = .DataMember
End With
运行后提示CaptionText不是DataGrid1的成员,
要是在Windows窗体就可以正常运行,我建的 web应用程序,有解决的办法吗