public static void ExecSql(string bll, string Exc, object[] par) { //ChatCallBack callBack = new ChatCallBack(); //InstanceContext instance = new InstanceContext(callBack); ServiceReference1.FileTransportServiceClient ft = new ServiceReference1.FileTransportServiceClient(); try { ft.ExecSql(bll, Exc, par); } catch { } finally { ft.Close(); } }