PC Review


Reply
Thread Tools Rate Thread

Record index from DataRowView object

 
 
=?Utf-8?B?QmlsbGdfc2Q=?=
Guest
Posts: n/a
 
      11th Jul 2005
Is there a way to determine "I'm looking at the nth record in this datatable"
from a datarowview object?

Ex.
Dim drv As DataRowview
Dim dv As New DataView(MyDt, "recordID>=" & recordID.ToString,
"RecordID")

For each drv In dv
Console.Writeline("You are looking at the " & ???? " record.")
Next



 
Reply With Quote
 
 
 
 
Marina
Guest
Posts: n/a
 
      12th Jul 2005
No, there is not unfortunately.

"Billg_sd" <(E-Mail Removed)> wrote in message
news:AA65786F-64E7-4C1C-A8EE-(E-Mail Removed)...
> Is there a way to determine "I'm looking at the nth record in this
> datatable"
> from a datarowview object?
>
> Ex.
> Dim drv As DataRowview
> Dim dv As New DataView(MyDt, "recordID>=" & recordID.ToString,
> "RecordID")
>
> For each drv In dv
> Console.Writeline("You are looking at the " & ???? " record.")
> Next
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<DataRowView> VERSUS <DataRowView.Row> [tridy] Microsoft ADO .NET 2 31st May 2005 06:49 AM
datarowview =?Utf-8?B?SHV0dHk=?= Microsoft Dot NET Framework 3 12th Jul 2004 06:21 PM
Howto create class that inherits Datarowview? Guillaume Hanique Microsoft ADO .NET 2 18th Nov 2003 11:09 AM
problem with DataRowView shiv Microsoft ADO .NET 0 3rd Nov 2003 07:08 PM
First string field in first row of datatable shows "System.Data.DataRowView" Nathan Microsoft ADO .NET 0 21st Jul 2003 09:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:13 AM.