© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•7mo ago•
18 replies
NovaLen

✅ SQL C# error

Hello I am currently taking a course on Udemy for C# and I have come to the learning section that deals with databases and SQL connections and commands in C# WPF apps. For some reason I keep on recieving this error for the "@ZooId" I put in my query string variable. Is there something I am missing to properly create and assign a column/Id to this @ZooId?

The WPF is supposed to show the animals associated with the city the user selects, but in my case I get the error and the animal list stays blank?
Screenshot_2025-07-24_175554.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Error handling through SQL or C#.
C#CC# / help
14mo ago
data update error in c# sql
C#CC# / help
2y ago
SQL Error
C#CC# / help
3y ago
❔ SQL Error
C#CC# / help
3y ago