I am using asp.net + Mysql.
I have multiple rows in my dataset; I have to store the rows in my database table. How to do that?
I am using asp.net + Mysql.
I have multiple rows in my dataset; I have to store the rows in my database table. How to do that?
Use the insert statement ..
INSERT INTO tbl_name (a,b,c) VALUES(1,2,3),(4,5,6),(7,8,9);
this inserts 3 rows
a | b | c
--+---+--
1 | 2 | 3
4 | 5 | 6
7 | 8 | 9