I have a tableadapter set up with the following select command:
vb Code:
SELECT GameIndex, MatchNumber WHERE GameIndex = ? AND MatchNumber = ?
The parameters GameIndex and MatchNumber show up in the SelectCommand.parameters collection for the tableadapter, but when I try to provide the parameters with data using this code:
vb Code:
Tbl_GreenMatchDataTableAdapter.SelectCommand.Parameters(0).Value = 1
I get the error message that the “SelectCommand is not a member of…” that table adapter. I have seen this format for providing table adapters parameters in other threads.
Any suggestions on where I have gone astray?




Reply With Quote