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: Sat, 28 Jul 2007 13:41:36 -0600,    posted on: microsoft.public.dotnet.languages.vb.data        back       

Thread Index
  1    Jim


dataset Issues   
This is all very confusing, but I'm trying.

I am using strongly typed datasets, that I simply drag on to the form.

I have a dataset created here:
Me.PODetailTableAdapter.Fill(Me.PODataSet.PODetail)

Its there, because I have a datagridview that uses it. Now I want to
take all the detail lines and write them to another table.

now how do I access this data.  I come from the fox world and am used
to working with cursors.  

I tried this:
For i = 1 To Me.POtDataSet.Tables("PODetail").Rows.Count - 1
 MsgBox(Me.PODataSet.Tables("PODetail").Rows(i).Item("Item_Nr"))
Next

but that gives me ALL the data from the backend.  I want the data that
I have currently loaded on the form.

I do know how to create a dataReader and loop thru it, but I figure
since the data is already loaded on the form, I don't want to keep
reloading redundant data.

Some day soon, something will click and I will understand all this.

Thanks for your help
Date:Sat, 28 Jul 2007 13:41:36 -0600   Author:  

Google
 
Web dotnetnewsgroup.com


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