How do I make a int variable part of a string.
Posted on 2004-09-27
Here is what I have, that doesn’t work.
public void GetProductPrice(int productID)
int ID = productID;
string strSQL = "SELECT product_price from t_products where product_id = productID";
How can I make it so where the string reads productID it will be the value that was passed in??