troubleshooting Question

Why am I having an Error Getting a List Out of a Proccesor

Avatar of Olukayode Oluwole
Olukayode OluwoleFlag for Canada asked on
C#* Parameters
6 Comments1 Solution12 ViewsLast Modified:
I have a Binding List  which generates a set of location code into a combo Box
(see script below works )

 var parameters = new { locationidx = "x", locdescriptionx = "x", companycodex = LoginDetails.staticcompany, idx = 0, dowhatx = "AR" };
            var newList1 = NewDataAccess.ReadData<LocationModel>("public.splocationcode_getall", parameters);
            arsaleLocationIdValue.DataSource = null;
            arsaleLocationIdValue.DataSource = locationcodes;
            arsaleLocationIdValue.DisplayMember = "FullCodeName2";
            arsaleLocationIdValue.ValueMember = "LocationID";
            locationcodes.Clear();                  // This line clears the list box
            newList1.ForEach(x => locationcodes.Add(x));

Now Because i may need to do this in different parts of my application I decided
to send 2 parameters to a proccesor and hopefully get a List Returned

I think I have  Issues both  Calling  the proccesor and returning  the list

Below  is the calling Procedure with error flagged


and on the Processor side that should return the List  I also have the error below



How can i correct the 2 sides to return a list NewList1

Thanks

Olukay
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
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 6 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