tgf-47
Member
- Joined
- Feb 16, 2010
- Messages
- 15
- Programming Experience
- Beginner
I got this in my SQL statement. I "BOLDED" the problem.
I saw a video tutorial on the internet, How Do I: Use DataSets in an N-Tier Application? where they are doing this.
The example that I inserted is actually from the tutoral. For some reason it wont work on my side.
How do I use variables in a SQL statement?
VB.NET:
SELECT OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, ShipVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry FROM Orders
WHERE CustomerID = [B]@CustomerID[/B]
I saw a video tutorial on the internet, How Do I: Use DataSets in an N-Tier Application? where they are doing this.
The example that I inserted is actually from the tutoral. For some reason it wont work on my side.
How do I use variables in a SQL statement?