Chapter 10, Try it out Page 365, C#, line 7
Chapter 10, Try it out Page 365, C#, line 7
SQL statement that is recommended to use:
SELECT PlayerID, FirstName, LastName, Position, PictureURL, DateJoined, DateLeft
FROM Players
WERE PlayerID = @PlayerID
When adding âWERE PlayerID = @PlayerIDâ to the SQL statement and clicking next the check box for âCreate methods to send update directly to the databaseâ is disabled âgrayed outâ. If you remove the âWERE PlayerID = @PlayerIDâ from the SQL statement the check box for âCreate methods to send update directly to the databaseâ is enabled.
If you click on the âQuery Builder..â button in the âEnter SQL statementâ dialog you will get this message âUnable to parse query text.â
|