Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL statements in c#.net
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01197315
Message ID:
01197319
Views:
19
I made the following correction:


string selectcmd = "SELECT EmployeeID,LastName,FirstName FROM Employees WHERE FirstName = " + "'" + mykey + "'";

and it worked, thank you. but how would I pass 'mykey' as a parameter?
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life. John 3:16
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform