Just wondering can you pass 2 parameters ( @Insertparanamehere ) in 1 sql command via VB? I have some code below ( sample code ) and I am just wondering is this possible.
Command = New SqlCommand("Update Boards Set CDF_Supplier_Tx='" + SupplierNameTxt.Text + "' Where CDF_Supplier_tx IN ( Select Supplier From Suppliers Where Supplier = '" + SupplierNameTxt.Text + "')", connection)
Where it says '" + SupplierNameTxt.Text + "'
could this be potentially replaced with @Insertnameparaname
from here?
If this is unclear as to which I will try to explain this a little more so my code would end up with 2x@ instead of the long supplierNameTxt.Text?
This is just a question , thank you in advance.