What is the fastest / the best way to import data from .csv file to table.

I need to import data from excel .csv file to table. What is the best way to do it? (using X++)

it depends on what type data you want to import and what is the reusability .

if you are going to use only one time and for very less columns than go for x++ code

dynamicsaxtech.wordpress.com/…/

otherwise go for DMF

DMF is now DIXF and this is the toolset shipped with AX to achieve this task, but it depends ultimately upon the data, volume and your skills. x++ code would require you to be a developer for example but is an option if required over DIXF, you also have third party tools, and of course the Excel add-in (terrible choice and I only mention it because it is an option but I would generally not recommend it for importing data).