<%@ WebService Language="C#" CodeBehind="App_Code/ServiceEmployee.cs" Class="ServiceEmployee"%>
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Configuration; using System.Data.SqlClient; using System.Web.Script.Serialization; /// <summary> /// Summary description for ServiceEmployee /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. // [System.Web.Script.Services.ScriptService] public class ServiceEmployee : System.Web.Services.WebService { public ServiceEmployee () { //Uncomment the following line if using designed components //InitializeComponent(); } public class Employee { public string value { get; set; } public string text { get; set; } } public class Client { public string value { get; set; } public string text { get; set; } } public class Deploy { public string title { get; set; } public string start { get; set; } } }
Server Error in '/' Application. Parser Error <pre lang="c#">Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not create type 'ServiceEmployee'. Source Error: Line 1: <%@ WebService Language="C#" CodeBehind="App_Code/ServiceEmployee.cs" Class="ServiceEmployee"%> Line 2: Source File: /AbileSGMS/ServiceEmployee.asmx Line: 1 Version Information: Microsoft .NET Framework Version:2.0.50727.6421; ASP.NET Version:2.0.50727.6427
App_Code
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)