DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 08 Aug 2007 22:56:20 -0700,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    maz
          2    Miha Markic miha at rthand com
                 3    William Vaughn
          4    maz


Adding new rows   
Is there anyway to add rows to a dataset/datatable without having to
populate the object with rows from the source table????

It seems to be pretty daunting in terms of memory/processing
requirements to have to fill the dataset with all rows from a source
and then make additions.
Date:Wed, 08 Aug 2007 22:56:20 -0700   Author:  

Re: Adding new rows   
No, you don't need to fill it beforhand.
What makes you think you have to fill it before adding new rows?

-- 
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"maz"  wrote in message 
news:1186638980.793722.78650@l70g2000hse.googlegroups.com...

> Is there anyway to add rows to a dataset/datatable without having to
> populate the object with rows from the source table????
>
> It seems to be pretty daunting in terms of memory/processing
> requirements to have to fill the dataset with all rows from a source
> and then make additions.
> 
Date:Thu, 9 Aug 2007 10:15:53 +0200   Author:  

Re: Adding new rows   
On Aug 9, 11:15 am, "Miha Markic" <miha at rthand com> wrote:

> No, you don't need to fill it beforhand.
> What makes you think you have to fill it before adding new rows?
>
> --
> Miha Markic [MVP C#, INETA Country Leader for Slovenia]
> RightHand .NET consulting & developmentwww.rthand.com
> Blog:http://cs.rthand.com/blogs/blog_with_righthand/
>
> "maz"  wrote in message
>
> news:1186638980.793722.78650@l70g2000hse.googlegroups.com...
>
>
>
> > Is there anyway to add rows to a dataset/datatable without having to
> > populate the object with rows from the source table????
>
> > It seems to be pretty daunting in terms of memory/processing
> > requirements to have to fill the dataset with all rows from a source
> > and then make additions.- Hide quoted text -
>
> - Show quoted text -


The examples given in a text I have called the fill method. That's
what made me think so, which I found to be extremely unreasonable!

Note that the table I want to add rows to already has existing rows.

if u have references to web resources that may help please provide
them.

Thanks
Date:Thu, 09 Aug 2007 01:57:35 -0700   Author:  

Re: Adding new rows   
You can do a schema-only query or construct the DataTable in code and 
populated it as needed.

-- 
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant, Dad, Grandpa
Microsoft MVP
INETA Speaker
www.betav.com
www.betav.com/blog/billva
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

"maz"  wrote in message 
news:1186649855.698371.308040@l70g2000hse.googlegroups.com...

> On Aug 9, 11:15 am, "Miha Markic" <miha at rthand com> wrote:
>> No, you don't need to fill it beforhand.
>> What makes you think you have to fill it before adding new rows?
>>
>> --
>> Miha Markic [MVP C#, INETA Country Leader for Slovenia]
>> RightHand .NET consulting & developmentwww.rthand.com
>> Blog:http://cs.rthand.com/blogs/blog_with_righthand/
>>
>> "maz"  wrote in message
>>
>> news:1186638980.793722.78650@l70g2000hse.googlegroups.com...
>>
>>
>>
>> > Is there anyway to add rows to a dataset/datatable without having to
>> > populate the object with rows from the source table????
>>
>> > It seems to be pretty daunting in terms of memory/processing
>> > requirements to have to fill the dataset with all rows from a source
>> > and then make additions.- Hide quoted text -
>>
>> - Show quoted text -
>
> The examples given in a text I have called the fill method. That's
> what made me think so, which I found to be extremely unreasonable!
>
> Note that the table I want to add rows to already has existing rows.
>
> if u have references to web resources that may help please provide
> them.
>
> Thanks
> 
Date:Thu, 9 Aug 2007 09:07:37 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us