I am a novice in programming and I hope somebody can help me. I want to store data which I received in C# to MySql: The table should be variable according to the data I received.
string myInsertQuery = String.Format("INSERT INTO volumen (date, time, bidvol, bidprice, askprice, askvol, lastprice, volume) VALUES({0}, {1}, {2}, {3}, {4}, {5}, {6}, {7})", now_date_marketlast, now_time_marketlast, bidvol, bidprice, askprice, askvol, ePrice1, e.Volume);
works, but how to define the table variable. If I replace volumen with {0} and , table doesen´t work. Please help me. Thank you in advance.