Click here to Skip to main content
15,947,389 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,

I'm getting this error how resolve this error.

I'm using SqlHelper.cs and try to build asynchronous data access with callback method
(Fragment 5) at the time of filling data table in FillDataTable method i'm getting this error.

Reference url :Asynchronous Data Access[^]

please replay ASAP

Thanks & Regards,
yagnasri,
Posted

The parameter needs to be a string and it's not. The message tells you that. If you posted code, we could tell you how to fix it
 
Share this answer
 
Try to put the value in an object, and then check its type when in the debugger. You can also use the immediate window and do a gettype on the value returned.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900