Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15437

How can I use fill from a typed dataset to be applied to my datagridview datasource?

$
0
0
Hello:

I have a typed dataset query that produces exactly what I want. How can I use fill from a typed dataset to be applied to my datagridview datasource?

Code:

    Private Sub frmHistory_Load(sender As Object, e As EventArgs) Handles Me.Load
        Dim Requester As String = frmRequest.cboRequestor.Text

        MessageBox.Show(Requester)

        Dim ta_History As PurchasingRequestDataSetTableAdapters.PartsTableAdapter = New PurchasingRequestDataSetTableAdapters.PartsTableAdapter
        ta_History.FillBy_GetHistory(DS.Parts, "Jerome Vanderlinde")

        ' How can I use the fill above to be applied to my datagridview datasource?
        dgvHistory.DataSource = TBD

    End Sub

Thanks!

Viewing all articles
Browse latest Browse all 15437

Trending Articles