Electronic Copyright?

Can you sell the electronic printed test bank or books that was purchased from the publisher? Is this a violation to some sort of copyright?