troubleshooting Question

What is wrong with way i have assigned a listBox DataSource to selected records from a database

Avatar of Olukayode Oluwole
Olukayode OluwoleFlag for Canada asked on
* ListviewC#* listcontrol
2 Comments1 Solution13 ViewsLast Modified:
I have a c# application writing to a postgresql database. I use Dapper

I also have a stored procedure that executes properly and selects some records
form the database. Out put from the stored procedure is correct

I am trying  to assign the output records to serve as the datasource for my list box

I have the codeslistBox.DataSource = records flagged as an error

Please see the error below as flagged. I think i have a syntax error 


My codeslistBox is define on the form  shown below. Thios may not be needed to resolve the
problem.

Whats does the error displayed mean and how can i resolve the error

Thanks Olukay
ASKER CERTIFIED SOLUTION
Dustin Saunders
Co-Founder and Chief Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2016

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros