Using da As New dbDSTableAdapters.dbTableAdapter
Using dt As New dbDS.dbDataTable
Dim dsNew = New DataSet()
Dim dsOld = dt.DataSet
If dsOld IsNot Nothing Then
dsOld.Tables.Remove(dt.TableName)
End If
dsNew.Tables.Add(dt)
dsNew.EnforceConstraints = False
da.FillByID(dsNew.Tables(0), dbID)
If dsNew.Tables(0).Rows.Count > 0 Then
gridView.DataSource = dsNew.Tables(0)
gridView.DataBind()
End If
End Using
End Using