D
Daniel Manes
Ok, I have a DataGridView, and I want to fill it with data from a
stored procedure (which is on a SQL server express database). This
procedure requires a parameter called "Country." The user selects the
country from a ComboBox elsewhere on the form.
All seems to be working fine except one thing: How do I get the value
from that Country ComboBox to be the value that gets used for the
Country parameter?
Do I need to do hand code this? Seems impossible with the GUI. There is
a "Parameters Collection" in the properties for the Fill query, but
when I go into that, there seems to be no way to bind to other
controls.
If I do need to write code for this, any tips?
Thanks,
-Dan
stored procedure (which is on a SQL server express database). This
procedure requires a parameter called "Country." The user selects the
country from a ComboBox elsewhere on the form.
All seems to be working fine except one thing: How do I get the value
from that Country ComboBox to be the value that gets used for the
Country parameter?
Do I need to do hand code this? Seems impossible with the GUI. There is
a "Parameters Collection" in the properties for the Fill query, but
when I go into that, there seems to be no way to bind to other
controls.
If I do need to write code for this, any tips?
Thanks,
-Dan