Hi,
I have a button on click event I have the following code;
At runtime, when I select the items from th edropdownlist combo box and click the button the datagridview is not populated.. Why?Code:Private Sub BtnChk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnChk.Click If CmbTruckTyp.SelectedItem.ToString = "Daf" And cmbDafModels.SelectedItem.ToString = "Daf cf85" And CmbCategory.SelectedItem.ToString = "Filters" Then 'TODO: This line of code loads data into the 'ProductDetails.QryProductDetails' table. You can move, or remove it, as needed. Me.QryProductDetailsTableAdapter.Fill(Me.ProductDetails.QryProductDetails) Else End If
Thanks


Reply With Quote
Bookmarks