Dim dr as DataRow
Dim dt as DataTable = LoadDataTableSomehow()
Dim PhotoFile as String
Dim Description as String
for each dr in dt.Rows
    'this will loop through the rows
    'you can then access the columns by ordinal or by name
   PhotoFile = dr("photo")  'or dr(2)
   Description = dr("Description")

next

Or you can grab a specific row...
Dim iRowToFind = 3

dr = dt.Rows(iRowToFind)

On 2/2/06, shyms05 <[EMAIL PROTECTED]> wrote:
> Hi to all.
>
> Can u plz tell me how to call  rows of different dataset(table) in a
> table.how to differentiate between them.
>
> e.g in asp
> we used rs as recordset, rs("photo") from photo table
>         rst as recordset, rst("description") from description table
>
> thus both tables are different.
>
> thanking u in advance.
>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNet2/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to