You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

47 lines
1.0 KiB

using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Stone.Common;
using Stone.Common.WinService;
namespace Stone.Common
{
public class MyWebService
{
public static Stone.Common.WinService.Service service;
static MyWebService()
{
service = new Stone.Common.WinService.Service();
service.Url = MyAppconfig.ReadValue("Server");
}
public static DataSet ServiceMessage(DataSet dsCommand)
{
try
{
return service.ServiceMessage(dsCommand, null);
}
catch (Exception ex)
{
throw ex;
}
}
public static DataSet ServiceMessage(DataSet dsCommand, DataSet dsData)
{
try
{
return service.ServiceMessage(dsCommand, dsData);
}
catch (Exception ex)
{
throw ex;
}
}
}
}