What Is Variable Source Code Definition (and how to create it) In Evangelos Petroutsos' Book

  • Thread starter Thread starter clusardi2k
  • Start date Start date
C

clusardi2k

In chapter 23, it explains how to navigate the tables of a DataSet. I'm
looking for the definition of "AllOrders1", below. I.E.: How is it
created, explained to me in a step by step fashion, and how is it
defined in the source code? I want to implement my own reports etc with
it!

' Code Start

Dim tbl As System.Data.DataTable

For Each tbl In AllOrders1.Tables
Console.WriteLine(tbl.TableName)
Next

Dim rel As System.Data.DataRelation

For Each rel in AllOrders1.Relations
Console.WriteLine(rel,RelationName)
Next

' Code End

What else will I need to get this program to run properly?

Thank you,
Christopher Lusardi
 
I figured it out on my own by looking at how DataSet is created and
defined in the book " Visual Basic 2005 Step by Step.

Thanks anyway,
Christopher Lusardi
 
Back
Top