System.Data.Odbc.OdbcCommand("LOAD DATA LOCAL INFILE 'Current_path' INTO TABLE importcsv... I need to pass the filename into this command.. its giving me a errocode 22.. Please help
'Current_path' I have assigned the file name to this, The user select the file from a directory and full path gets copied to a textbox. I am trying to pass this fullpath into the LOAD data command but it says file not found.
but if i enter the same path into the LOAD DATA cmd it works!
How can I pass this dynamic value into the command?