i want to load bulk data files dynamically inot mysql database by using visual basic as front end.
i want to get the filepaths dynamically i.e i just enter the file name into textbox and it will automatically load the data into the database.
i have written this code
myCommand.CommandText = "LOAD DATA INFILE '?filename' into table configparams columns terminated by ',' enclosed by '""' lines starting by '""'"
myCommand.Connection = conn
myCommand.Parameters.AddWithValue("?filename", filename)
but with this code is not able to get the desired filepath
can anyone help me out plz