public static void Updata(string bll, DataTable dt) { //ChatCallBack callBack = new ChatCallBack(); //InstanceContext instance = new InstanceContext(callBack); ServiceReference1.FileTransportServiceClient ft = new ServiceReference1.FileTransportServiceClient(); try { ft.Updata(bll, "UpdateByDt", dt); } finally { ft.Close(); } }