Practical Database Programming with Visual Basic NET Second Edition Ying Bai(Auth.) download
Practical Database Programming with Visual Basic NET Second Edition Ying Bai(Auth.) download
or textbooks at https://ebookultra.com
https://ebookultra.com/download/practical-database-
programming-with-visual-basic-net-second-edition-ying-
baiauth/
https://ebookultra.com/download/practical-database-programming-with-
java-1st-edition-ying-bai/
Programming the Web with Visual Basic NET 1st Edition Lynn
Torkelson
https://ebookultra.com/download/programming-the-web-with-visual-basic-
net-1st-edition-lynn-torkelson/
https://ebookultra.com/download/programming-microsoft-visual-basic-
net-version-2003-francesco-balena/
https://ebookultra.com/download/an-introduction-to-object-oriented-
programming-with-visual-basic-net-1st-edition-dan-clark/
Programming Microsoft SQL Server 2000 with Microsoft
Visual Basic NET 1st edition Edition Rick Dobson
https://ebookultra.com/download/programming-microsoft-sql-
server-2000-with-microsoft-visual-basic-net-1st-edition-edition-rick-
dobson/
https://ebookultra.com/download/programming-with-microsoft-visual-
basic-2012-6th-edition-diane-zak/
https://ebookultra.com/download/windows-game-programming-with-visual-
basic-and-directx-1st-edition-freeze/
https://ebookultra.com/download/an-introduction-to-programming-using-
visual-basic-2008-with-visual-studio-expression-edition-dvd-schneider/
https://ebookultra.com/download/visual-c-net-programming-1st-edition-
harold-davis/
Practical Database Programming with Visual Basic NET
Second Edition Ying Bai(Auth.) Digital Instant Download
Author(s): Ying Bai(auth.)
ISBN(s): 9781118249833, 1118249836
File Details: PDF, 9.98 MB
Year: 2012
Language: english
Practical Database
Programming with Visual
Basic.NET
Ying Bai
Department of Computer Science and Engineering
Johnson C. Smith University
Charlotte, North Carolina
IEEE PRESS
Published by John Wiley & Sons, Inc., Hoboken, New Jersey. All rights reserved.
Published simultaneously in Canada.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or
by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted
under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written
permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the
Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-
4470, or on the web at www.copyright.com. Requests to the Publisher for permission should be addressed to
the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011,
fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.
Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in
preparing this book, they make no representations or warranties with respect to the accuracy or
completeness of the contents of this book and specifically disclaim any implied warranties of merchantability
or fitness for a particular purpose. No warranty may be created or extended by sales representatives or
written sales materials. The advice and strategies contained herein may not be suitable for your situation. You
should consult with a professional where appropriate. Neither the publisher nor author shall be liable for any
loss of profit or any other commercial damages, including but not limited to special, incidental, consequential,
or other damages.
For general information on our other products and services or for technical support, please contact our
Customer Care Department within the United States at (800) 762-2974, outside the United States at (317)
572-3993 or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not
be available in electronic formats. For more information about Wiley products, visit our web site at www.
wiley.com.
10 9 8 7 6 5 4 3 2 1
Preface xxv
Acknowledgments xxvii
Chapter 1 Introduction 1
Outstanding Features about This Book 2
Who This Book Is For 2
What This Book Covers 2
How This Book Is Organized and How to Use This Book 5
How to Use the Source Code and Sample Databases 6
Instructors and Customers Supports 8
2.11.6.1
Create the Constraints between the LogIn and Faculty Tables 78
2.11.6.2
Create the Constraints between the LogIn and Student Tables 81
2.11.6.3
Create the Constraints between the Course and
Faculty Tables 83
2.11.6.4 Create the Constraints between the StudentCourse
and Student Tables 83
2.11.6.5 Create the Constraints between the StudentCourse
and Course Tables 85
2.12 Chapter Summary 87
Homework 88
5.14 Query Data from the Course Table for the Course Form 295
5.14.1 Build the Course Queries Using the Query Builder 296
5.14.2 Bind Data Columns to the Associated Controls in the Course Form 298
5.15 Develop Codes to Query Data for the Course Form 300
5.15.1 Query Data from the Course Table Using the TableAdapter Method 300
5.15.2 Query Data from the Course Table Using the LINQ to
DataSet Method 302
5.16 Query Data from Oracle Database Using Design Tools and Wizards 304
5.16.1 Introduction to dotConnect for Oracle 6.30 Express 305
5.16.2 Create a New Visual Basic.NET Project: SelectWizardOracle 305
5.16.3 Select and Add Oracle Database 11g XE as the Data Source 307
5.16.4 Modify the Codes to Access the Oracle Database 310
6.9 Insert Data into the Database Using the LINQ to DataSet Method 486
6.9.1 Insert Data Into the SQL Server Database Using the LINQ
to SQL Queries 488
6.10 Chapter Summary 488
Homework 489
N A M E S O M I T T E D.
The Right Honourable the Lord Petre.
The Right Honourable the Lord Sherard Manners.
The Honourable Sir John Eyles, Bart. Postmaster General.
Papillion Ball, Esq;
John Carew, Esq;
ACCOUNT
OF THE
SPANISH INVASION
I. That Elizabeth had, from the first assisted his rebellious Subjects
in the Netherlands, with Men and Money, and spirited them up
against him, her greatest Friend and Benefactor; whom she was
indebted to for her Life, when her Sister Queen Mary and Gardiner
were for removing her out of the Way.
II. Drake, and others of her Subjects, had committed several
Depredations in Spain and America.
III. She had been so unnatural as to stop his Money, when, for
fear of Pirates, it had been landed in her Dominions; and had put an
Embargo on the Vessels employed to carry it to the Low-Countries:
(As is related by Camden, under the Year 1568.)
IV. She had acknowledged his Enemy Don Antonio King of
Portugal, and armed him against Spain.
V. That it was by her Instruction and Advice the Duke of Alençon
had been crowned King of Brabant.
VI. And, moreover, she herself had accepted the Sovereignty of the
Low-Countries, and sent the Earl of Leicester thither with
considerable Forces; which was an open Declaration of War.
VII. That he undertook it, to revenge the Death of the innocent
Queen of Scots.
VIII. And in Compliance with the Holy Father Innocent VIII.’s
earnest Injunctions, who ceased not to exhort and importune him, to
abolish Heresy in England, and replant the Roman-Catholick Religion
there.
In short therefore, the Aim and Design of the King of Spain in this
great Expedition, was to conquer England, in order to come more
easily at the revolted Netherlands, and facilitate their Reduction to
his Obedience; as also, for the Sake of so meritorious an Action, as
the bringing this Island back to the Catholick Religion: And to be
revenged, at the same Time, for the Disgrace, Contempt, and
Dishonour, he had, at several Times, received from the English
Nation; and for divers others real or pretended Injuries, which had
made a deep Impression on his proud and revengeful Spirit.
Animated and spurred on by these Motives, King Philip made such
vast Preparations for his intended Conquest, as had hardily ever been
known before in any Age, or Nation: Whether we consider the Time
spent about them; or the prodigious Strength and Quantity of the
Materials of all Kinds that were provided.
As for the Time spent about these Preparations; King Philip seems
to have form’d this Design as early as the Year 1583. [4]For, in that
Year, he ordered Alexander Duke of Parma, Governor of the Low-
Countries, to procure an exact Account and Description of the
Harbours, Castles, Rivers, and Roads belonging to England, and
transmit them to him; which was accordingly done: And in this
Francis Throckmorton appears to have been concerned. But,
according to Rapin, [5]this Project was formed by Philip only from the
Time Mary Queen of Scots had been persuaded to convey to him her
Right to England, as being the only Means to restore the Catholick
Religion[6]: According to the received Maxim in the Church of Rome,
That an Heretick is unworthy and incapable of enjoying a Crown;
Philip thought he might justly claim that of England, as being the
next Catholick Prince descended from the House of Lancaster;
namely, from Catharine Daughter of John of Ghent Duke of
Lancaster, married in 1389 to Henry, then Prince, and afterwards
King, of Castile. Upon this Descent therefore, and the Queen of Scots
Conveyance and Will, he had projected the Conquest of England.
However it be, or whenever these Preparations were begun, it is
certain that King Philip assembled so powerful a Fleet, and so well
furnished with all kinds of Provisions and Ammunition, that, thinking
it unconquerable by human Power, he gave it the Title of the
Invincible Armada.
[7]
This Fleet consisted of one hundred and thirty two Ships,
(besides twenty Caravels for the Service of the Army, and ten Salves
with six Oars apiece,) containing fifty nine thousand one hundred,
and twenty Tons; three thousand, one hundred, and sixty five
Cannons; eight thousand, seven hundred, and sixty six Sailors; two
thousand and eighty eight Galley-Slaves, and twenty one thousand,
eight hundred, and fifty five Soldiers; besides Noblemen and
Voluntiers[8]. For there was not a Family in Spain of any Note, but
what had a Son, a Brother, or a Kinsman in the Fleet[9]. Of these
Voluntiers there were two hundred and twenty four; attended by four
hundred and fifty six Servants bearing Arms.
There were also two hundred and thirty eight Gentlemen more,
maintained by the King; with one hundred and sixty three Servants.
An hundred and seventy seven Persons, with two Engineers, one
Physician, one Surgeon, and thirty Servants belonging to the
Artillery; eighty five Physicians and Surgeons for the Hospital-Ships;
three and twenty Gentlemen belonging to the Duke of Medina-
Sidonia’s Court, and fifty Servants; seventeen Superintendants
General of the Army; and one hundred Servants more, belonging to
them, or to the Officers of Justice, who were twenty in Number[10].
Nay even there were in it one hundred and eighty Capuchins,
Dominicans, Jesuits, and Mendicant Friars; with Martin Alarco, Vicar
of the Inquisition.
And because none were allowed to have Wives or Concubines on
board, some Women had hired Ships to follow the Fleet; two or three
of which Ships were driven by the Storm on the Coast of France[11].
Most of the Ships of this Armada[12] were of an uncommon Size,
Strength, and Thickness, more like floating Castles than any thing
else; and they were cased above Water with thick Planks to hinder
the Cannon-Balls from piercing their Sides. The Masts also were
braced round with strong pitched Ropes, to save them from being
soon shatter’d or broke by the Shot.
Then as to Ammunition, [13]this Fleet had a very great Number of
Cannons, double Cannons, Culverins, and Field-Pieces for Land-
Service; seven thousand Muskets and Calievers; ten thousand
Halberts and Partizans; one hundred and twenty thousand Cannon-
Balls; [14]one hundred Quintals of Lead for Bullets (each Quintal being
a hundred weight,) twelve thousand Quintals of Match; fifty six
thousand Quintals of Gunpowder; and also, Waggons, and other
Carriages; Horses, Mules, and other Instruments and Necessaries for
Conveyance by Land; Torches, Lanthorns, Canvas, Hides, Lead;
Chains, Whips, Butchering-Knives, Halters, and other Instruments of
Death and Slavery[15]; and Spades, Mattocks, Baskets, and every
thing else requisite for Pioneers Work; as also eight hundred Mules
for drawing the Ordnance and Carriages.
Proportionable to these Forces was their great Store of Provisions
of every Sort: [16]for, besides Raisins in great abundance, they had
eight thousand Quintals of Fish; three thousand Quintals of Rice; six
thousand three hundred and twenty [17]Septiers of Beans, Pease, &c.
eleven thousand three hundred and ninety eight Pounds of Olive-Oyl;
thirty three thousand eight hundred and seventy Measures of
Vinegar; ninety six thousand Quintals of Biscuit; three thousand four
hundred and fifty eight Quintals of Goats Cheese; six thousand five
hundred Quintals of Bacon; one hundred and forty seven thousand
Pipes of Wine; twelve thousand Pipes of Water, &c.—Provisions in a
word they had for six Months; and so well furnished were they, that
Sir Francis Drake observes, in a Letter of his, [18]they had Provisions
of Bread and Wine sufficient to maintain forty thousand Men for a
whole Year.
The whole Fleet, in general, is said[19] to have contained thirty two
thousand Persons, and cost every Day thirty thousand Ducats[20].
The General of the Land Forces, and the Commander in Chief in
the whole Expedition, was Don Alfonso Perez de Guzman, Duke of
Medina Sidonia; and the Admiral was Don Juan Martinez de Recalde.
But it was not in Spain only, that such great Preparations were
carrying on, for the Invasion of England. For, Alexander Duke of
Parma was also making on his Side prodigious and amazing
Preparations, to assist in this grand Design.
He gathered together out of Spain, France, Savoy, Italy, Naples,
Sicily, Germany, and even out of America, a very considerable and
choice Army; [21]consisting of about forty thousand Foot, and three
thousand Horse; out of which he selected thirty thousand Foot, and
eighteen hundred Horse, that were to be ready to pass into England.
These Troops were quarter’d as follows: [22]Near Nieuport there lay
ready thirty Companies of Italians; ten of Walloons; and eight of
Scots, and as many of Burgundians: At Dixmude were eighty
Companies of Netherlanders; sixty of Spaniards; sixty of Germans;
and above seven hundred fugitive English, Scots, and Irish, under
the Command of Sir William Stanley, and Charles Nevil Earl of
Westmoreland. There were moreover four thousand Men posted at
Corrick, and nine hundred at Watene.
For the Transportation of these Forces, the Duke of Parma prepar’d
Ships at Nieuport, Dunkirk, Antwerp, and other Places; and caused
some new ones to be built with such Expedition, that they seem’d, as
Strada expresses it, [23]to be transform’d in a Moment, from Trees
into Ships.
More particularly: [24]In the River of Watten he caused seventy flat-
bottom’d Boats to be built, each of which could carry thirty Horses;
and to each of them were Bridges fitted for the convenient Shipping,
or Landing of the Horses. There were in most of them, two Ovens for
baking Bread, with a great Quantity of Saddles, Bridles, Harness, and
a good Number of Draught-Horses, to draw the Engines, Cannons,
and other Ammunition, after the Spaniards should be landed. Of the
same Form he had provided two hundred other Vessels at Nieuport,
but not so large. And at Dunkirk he had assembled thirty eight Men
of War; for the navigating of which, he had hired Sailors from
Bremen, Hamburgh, Emden, and Genoa. In their Ballast he had put a
great Quantity of Beams, or thick Planks, sharpned at the Ends, and
covered with Iron; but full of Clasps and Hooks on the Sides, that
they might be easily joined together. At Graveling, he had provided
twenty thousand Casks, which might in a short Time be fastened
together with Nails and Cords, and reduced into the Form of a
Bridge. Whatever, in a Word, was necessary for making Bridges, or
for choaking up the Mouths of Havens and Rivers, was by him got in
readiness. And he had even caused a great Pile of wooden Faggots
to be laid near Nieuport, for erecting a Mount or Rampart. Whilst he
was thus furnishing himself with all proper Vessels and other
Necessaries, he caused the shallow and sandy Places of Rivers to be
cleared; and had deep Channels cut in proper Places, from Ghent to
Ysendyck, Sluys, and Nieuport, on purpose to convey the Ships built
at Antwerp, Ghent, &c. into the Sea. Finally, he assembled at Bruges
above one hundred Hoys loaden with Provisions, which he designed
to bring into the Ports of Flanders, either by the Way of Sluys, or
through the forementioned Channels.
The Duke of Guise had also twelve thousand Men on the Coast of
Normandy, ready to land in the West of England as soon as the
Spanish Armada had enter’d the Channel[25]; but the Spaniards coming
two Months later than they intended, (or for some other Reasons)
the Duke dismissed his Forces about the End of June.
And that this famous Expedition might be supported with spiritual
as well as temporal Weapons[26], Pope Sixtus V created William Allen,
a seditious English Priest, Cardinal; and sent him as his Legate into
the Low-Countries, with a Bull; wherein, after enumerating the
several Causes of Complaint the See of Rome had against Queen
Elizabeth, (namely her suppressing the Catholic Religion, her putting
the Queen of Scots to Death, &c.) he renewed and confirmed the
Sentence of Excommunication pronounced against her by his
Predecessors Pius V and Gregory XIII, deprived her, as illegitimate,
and an Usurper, from all Princely Dignity, and Dominion over the
Kingdoms of England and Ireland; absolved her Subjects from their
Allegiance; and strictly enjoined them, upon Pain of God Almighty’s
Displeasure, not to lend her any Help or Assistance, but to join the
Spanish Army, and the Duke of Parma’s Forces, as soon as they
should be landed: Promising withal a plenary Indulgence and the
Pardon of all their Sins, to as many as would engage in so laudable
an Undertaking.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookultra.com