I set up a data source to a combo box using the data source wizard (from the tag on the combo box). The problem is I set the data source to a stored procedure which requires a parameter and I can't find a way to pass the parameter to the data source. I would have thought the wizard would know that since I selected a stored procedure, it would know it would require a parameter and have an additional dialog to set the parameter source.
So, can someone tell how to pass a parameter to the data source? I assume that I have to run the line of code prior to the fill method running (code generated from wizard).
'TODO: This line of code loads data into the 'DsPPEDisposal.PPEDisposal' table. You can move, or remove it, as needed.
Me.PPEDisposalTableAdapter.Fill(Me.DsPPEDisposal.PPEDisposal)
Thanks,
Tom
So, can someone tell how to pass a parameter to the data source? I assume that I have to run the line of code prior to the fill method running (code generated from wizard).
'TODO: This line of code loads data into the 'DsPPEDisposal.PPEDisposal' table. You can move, or remove it, as needed.
Me.PPEDisposalTableAdapter.Fill(Me.DsPPEDisposal.PPEDisposal)
Thanks,
Tom