Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > Visual Studio 2008
|
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 27th, 2009, 06:09 PM
Registered User
 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically inserting rows at varied intervals Peskarik Excel VBA 0 August 14th, 2008 02:24 AM
Deleting text strings automatically from Database palvin SQL Server 2000 15 October 3rd, 2005 12:52 PM
restore database to diff server automatically kiwikencox SQL Server 2000 7 September 14th, 2005 08:47 PM
Automatically Compacting a Database nanohurtz Access 2 March 22nd, 2004 10:25 AM
Automatically Finding and Deleting Blank rows Romulus Excel VBA 3 October 18th, 2003 09:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.