I made a WCF service and hosted in windows forms application and made a client win from application to consume that I service retrieves data from database and shows to the client by entering ID.
How can I solve it?
I have seen many null references questions in stack overflow but thy are not related to WCF.
Image of error in my code:
Connection string in my web.config file: