Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 20th, 2004, 02:44 PM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding a row without using Update command

Hello,

I'm working on a WindowsService using VB.NET that monitors a serial port and places data in a database. The problem is a lot of data can build up in this database. I was wondering if there is a way to add a row to a table without first filling a dataset, adding the row then updating the table. I've clocked it and it starts taking some time to load the table into the dataset each time, not to mention all the memory it eats up. I believe this is causing my program to crash.

Thanks for your help.

Will
 
Old August 22nd, 2004, 08:26 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
quote:
I was wondering if there is a way to add a row to a table without first filling a dataset
why you work with dataset,you can directly deal with your datasource ,use CommandObjects(like SqlCommandObjects) and it's ExecuteNonQurey() method.
dont work with dataset object.
HtH.

--------------------------------------------
Mehdi.:)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding row to dataset in C# MAKO C# 2 March 11th, 2010 08:10 AM
Adding new row ShaileshShinde Access VBA 23 July 5th, 2006 08:26 AM
Adding a button to each row of a datagrid badgolfer ASP.NET 1.0 and 1.1 Basics 1 March 1st, 2004 10:05 AM
Dynamically adding a row to a DataGrid vwindrow ASP.NET 1.x and 2.0 Application Design 2 August 20th, 2003 03:10 PM





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