smartliclient 및 webservices를 만들었습니다. webservices + 관련 클래스가있는 서버와 데스크탑 응용 프로그램이있는 클라이언트를 만들었습니다. smartclient 프로젝트에서 namespace 및 class name은 servver-webservices와 동일합니다. 클라이언트 문제는 SmartInstitute.Course SmartClient 클래스와 웹 서비스 클래스 간의 충돌
using SmartInstitute.Automation.SmartInstituteServices.CourseService; // webservice
CourseService service = new CourseService();
SmartInstitute.Course[] allCourses = service.GetAllCourses();
프로젝트 - - SmartClient를 프로젝트에 존재한다. 그것의 보여주는 foll. 오류 -
암시 적 형식을 변환 할 수 없습니다 은 'SmartInstitute.Automation.SmartInstituteServices.CourseService.Course []' 에 'SmartInstitute.Course은 []'
은 더 많은 정보를 원한다면 알려 주시기 바랍니다 . 안녕하세요, http://www.codeproject.com/Articles/11163/Developing-Next-Generation-Smart-Clients-using-NET
미리 감사드립니다.
감사합니다. asmx webservice를 WCF 응용 프로그램으로 변환하겠습니다. – Abhi