Can Pokemon Diamond trade with Pokemon Pearl?

Yes.