Automatically Generate Database Rows
Hi,
I am very new to programming and trying to make my first database program with Visual Studio 2008.
I think I have got my program linked successfully to a Microsoft Access Database with 3 column datatables. What I want to do is make the program run through a loop and add one row to the datatable each time, filled out using randomly generated values.
The loop is running properly and I have got it to generate the random values I need in each loop and store them as variables, but I need some code to tell the program add the new row to the datatable in the dataset, fill it out using the stored variables and then update it to the database.
Can somebody please help?
|