An Introduction to Computer Programming Using Microsoft Visual Basic 2010 and Microsoft SQL Server CE
An Introduction to Computer Programming Using Microsoft Visual Basic 2010 and Microsoft SQL Server CE

by Robert Sendek, HPN Technolgies Inc.

ISBN: 978-1466411937

Available from:

Errata/Revisions:
(Dates indicated below refer to the publishing history dates on the back of the 2nd title page.)

May 2012 and earlier and earlier
Corrections
Page 646, middle:
For I As Integer = 0 To readerBooks.FieldCount - 1
  PrintLine(iReportFile, _
    "      <td><b>" & _
    HtmlEncode(readerBooks.GetName(I)) & "</b></td>")
Next I
Page 659, bottom:
PrintLine(iReportFile, " <title>" & sTable & "<title>")
Page 660, top:
For I As Integer = 0 To readerBooks.FieldCount - 1
  PrintLine(iReportFile, _
    "     <td><b>" & _
    HtmlEncode(readerBooks.GetName(I)) & _
    "</b></td>")
Next I
Page 668, bottom:
Call CreateReport(sTableBooks)
Minor Revisions
Page 404, top of page
... your program should not rely ...
Page 778, middle of page
... if your source code contains ...

 

February 2012 and earlier
Correction
Page 647, bottom:
Report.webReport.Navigate = sReportFile
Report.browserReport.Navigate(sReportFile)
Minor Revision
Page 247, second paragraph from bottom:
As a programmers, we need to anticipate...
Added Notes
Page 263, bottom:
18.12 Some Notes on HTML Table Formatting

At the time this book was written, some versions of Internet Explorer would not properly display table rows that cross page boundaries. If you will be creating tables that may cross page boundaries, adding the following <meta...> tag (which tells Internet Explorer to use its latest browser display features) to your HTML's <head> section should help work around this problem:

<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title>Report Title</title>
</head>

You may also need to include this <meta...> tag if other more recent formatting features of HTML are not working properly in Internet Explorer. Remember to use two double-quotes when actually writing this line as a Visual Basic string:

PrintLine(iReportFile, _
  " <meta http-equiv=""X-UA-Compatible"" content=""IE=edge"" />")

If you are creating large tables, it may also be useful to have the header row(s) repeated at the top of every page. You can accomplish this, in most modern browsers, by including header row(s) inside a set of <thead>...</thead> tags and table data inside a set of <tbody>...</tbody> tags, for example:

<table border="1">
  <thead>
    <tr>
      <th>Header column 1</th>
      <th>Header column 2</th>
    </tr>
  </thead >
  <tbody>
    <tr>
      <td>data row 1 column 1</td>
      <td>data row 1 column 2</td>
    </tr>
    <tr>
      <td>data row 2 column 1</td>
      <td>data row 2 column 2</td>
    </tr>
  </tbody>
</table>

In the above example, the <th>...</th> tags will cause most browsers to bold and center the header text within their table cells.

Page 670, bottom:
35.8 Some Notes on HTML Table Formatting

The notes in section 18.12 also apply when using HTML table formatting tags with the WebBrowser control.

 

October 2011, First Edition
Minor Revisions
Page 269, Section 19.3.1, last sentence:
Occasionally a class may not have any constructors and its objects may only be initialized by using methods of other objects...
Page 281, Section 19.6, first sentence:
SQL (usually often pronounced SEAqwool)...