Re: How to insert data from dataset to ms access table using vb.net
the following code obtains the cartesian product from "cname_4_car_pro" and "stock" table and fills the result in dataset "ds".the dataset contains around 230 rows.
Dim da As OleDbDataAdapter = New OleDbDataAdapter("SELECT cname_4_car_pro.cname AS cname, stock.sno AS sno FROM cname_4_car_pro, stock", con)
Dim ds As DataSet = New DataSet
da.Fill(ds, "car_pro_temp")
i dont know how to insert the data in dataset to the table named car_pro_temp in the ms access database.
i need the code to insert the data from "ds" to "car_pro_temp" using vb.net.
Bookmarks