Which is the best way to edit a row in a data table?

I need to design a mockup that consists of a data table featuring crud operations. I want to know the best way to design this:

Using inline editing? Using a pop-up? Using another page?