ASP.NET dropdown list using Virtual Code pulling data from SSMS

  Kiến thức lập trình

I am trying write a string for dropdown list however I keep coming across this error.
I wanna figure out a way to get around the error in order for my dropdown list to show on my dashboard.
My Visual Studio is linked to my SQL Server Management Studio. I am using C# for coding on the Visual Studio and C# uses String for letters and SSMS uses Varchar, this is where error emanates from.

I have uploaded a screenshot that shows the error


New contributor

Ozzy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.