100% found this document useful (1 vote)
13 views

Build Your Own ASP NET Website Using C VB NET 1st Edition Zak Ruvalcabadownload

The document provides links to download various ebooks and textbooks related to ASP.NET and web development, including titles by authors such as Zak Ruvalcaba and Ian Lloyd. It includes a summary of contents for the book 'Build Your Own ASP.NET Website Using C# & VB.NET' by Zak Ruvalcaba, detailing chapters on ASP.NET basics, programming, web forms, and database development. Additionally, it contains information about the author and the technical reviewers involved in the publication.

Uploaded by

adhamibeida46
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
13 views

Build Your Own ASP NET Website Using C VB NET 1st Edition Zak Ruvalcabadownload

The document provides links to download various ebooks and textbooks related to ASP.NET and web development, including titles by authors such as Zak Ruvalcaba and Ian Lloyd. It includes a summary of contents for the book 'Build Your Own ASP.NET Website Using C# & VB.NET' by Zak Ruvalcaba, detailing chapters on ASP.NET basics, programming, web forms, and database development. Additionally, it contains information about the author and the technical reviewers involved in the publication.

Uploaded by

adhamibeida46
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

Download the full version and explore a variety of ebooks

or textbooks at https://ebookultra.com

Build Your Own ASP NET Website Using C VB NET 1st


Edition Zak Ruvalcaba

_____ Tap the link below to start your download _____

https://ebookultra.com/download/build-your-own-asp-net-
website-using-c-vb-net-1st-edition-zak-ruvalcaba/

Find ebooks or textbooks at ebookultra.com today!


We have selected some products that you may be interested in
Click the link to download now or visit ebookultra.com
for more options!.

Build Your Own Website The Right Way Using HTML CSS 3rd
Edition Ian Lloyd

https://ebookultra.com/download/build-your-own-website-the-right-way-
using-html-css-3rd-edition-ian-lloyd/

Build Your Own Website The Right Way Using HTML CSS 3rd
Edition Ian Lloyd

https://ebookultra.com/download/build-your-own-website-the-right-way-
using-html-css-3rd-edition-ian-lloyd-2/

ASP NET AJAX programmer s reference with ASP NET 2 0 or


ASP NET 3 5 Dr. Shahram Khosravi

https://ebookultra.com/download/asp-net-ajax-programmer-s-reference-
with-asp-net-2-0-or-asp-net-3-5-dr-shahram-khosravi/

Mastering ASP NET with Visual C 1st Edition A. Russell


Jones

https://ebookultra.com/download/mastering-asp-net-with-visual-c-1st-
edition-a-russell-jones/
Essential ASP NET With Examples in C 1st Edition Fritz
Onion

https://ebookultra.com/download/essential-asp-net-with-examples-
in-c-1st-edition-fritz-onion/

ASP NET Bible 1st Edition Mridula Parihar

https://ebookultra.com/download/asp-net-bible-1st-edition-mridula-
parihar/

ASP NET Unleashed 1st Edition Stephen Walther

https://ebookultra.com/download/asp-net-unleashed-1st-edition-stephen-
walther/

Pro ASP NET 4 5 in C Fifth Edition Adam Freeman

https://ebookultra.com/download/pro-asp-net-4-5-in-c-fifth-edition-
adam-freeman/

Real World Enterprise Reports Using VB6 and VB NET 1st


Edition Carl Ganz Jr. (Auth.)

https://ebookultra.com/download/real-world-enterprise-reports-using-
vb6-and-vb-net-1st-edition-carl-ganz-jr-auth/
Build Your Own ASP NET Website Using C VB NET 1st
Edition Zak Ruvalcaba Digital Instant Download
Author(s): Zak Ruvalcaba
ISBN(s): 0957921861
Edition: 1
File Details: PDF, 1.39 MB
Year: 2004
Language: english
Build Your Own ASP.NET Website
Using C# & VB.NET
(Chapters 1, 2, 3 and 4)

Thank you for downloading the sample chapters of Zak


Ruvalcaba’s book, Build Your Own ASP.NET Website Using C# &
VB.NET, published by SitePoint.
This excerpt includes the Summary of Contents, Information
about the Author, Editors and SitePoint, Table of Contents,
Preface, 4 chapters of the book and the index.
We hope you find this information useful in evaluating this book.

For more information, visit sitepoint.com


Summary of Contents of this Excerpt
Preface ..........................................................................................xi
1. Introduction to .NET and ASP.NET ...................................... 1
2. ASP.NET Basics ..................................................................... 31
3. VB.NET and C# Programming Basics .................................. 47
4. Web Forms and Web Controls ............................................. 85
Index......................................................................................... 721

Summary of Additional Book Contents


5. Validation Controls ............................................................. 131
6. Database Design and Development .................................... 161
7. Structured Query Language................................................. 197
8. ADO.NET ............................................................................ 243
9. The DataGrid and DataList Controls ................................. 305
10. DataSets ............................................................................. 363
11. Web Applications .............................................................. 421
12. Building an ASP.NET Shopping Cart ............................... 451
13. Error Handling ................................................................... 497
14. Security and User Authentication..................................... 531
15. Working with Files and Email........................................... 559
16. Rich Controls and User Controls ...................................... 597
17. XML Web Services ............................................................ 645
A. HTML Control Reference ................................................... 683
B. Web Control Reference ....................................................... 699
C. Validation Control Reference ............................................. 715
Build Your Own ASP.NET
Website Using C# & VB.NET
by Zak Ruvalcaba
Build Your Own ASP.NET Website Using C# & VB.NET
by Zak Ruvalcaba
Copyright © 2004 SitePoint Pty. Ltd.
Editor: Georgina Laidlaw Expert Reviewer: Kevin Yank
Managing Editor: Simon Mackie Technical Editor: Rich Deeson
Cover Design: Julian Carroll Index Editor: Bill Johncocks
Printing History:
First Edition: April 2004

Notice of Rights
All rights reserved. No part of this book may be reproduced, stored in a retrieval system or transmitted
in any form or by any means, without the prior written permission of the publisher, except in the
case of brief quotations embodied in critical articles or reviews.

Notice of Liability
The author and publisher have made every effort to ensure the accuracy of the information herein.
However, the information contained in this book is sold without warranty, either express or implied.
Neither the authors and SitePoint Pty. Ltd., nor its dealers or distributors will be held liable for any
damages to be caused either directly or indirectly by the instructions contained in this book, or by
the software or hardware products described herein.

Trademark Notice
Rather than indicating every occurrence of a trademarked name as such, this book uses the names
only in an editorial fashion and to the benefit of the trademark owner with no intention of infringe-
ment of the trademark.

Published by SitePoint Pty. Ltd.

424 Smith Street Collingwood


VIC Australia 3066.

Web: www.sitepoint.com
Email: business@sitepoint.com
ISBN 0–9579218–6–1
Printed and bound in the United States of America
About The Author
Zak Ruvalcaba has been designing, developing and researching for the Web since 1995.
He holds a Bachelor’s Degree from San Diego State University and a Master of Science
in Instructional Technology from National University in San Diego.

In the course of his career, Zak has developed Web applications for such companies as
Gateway, HP, Toshiba, and IBM. More recently, he’s worked as a wireless software engineer
developing .NET solutions for Goldman Sachs, TV Guide, The Gartner Group, Microsoft
and Qualcomm. Currently, Zak holds a programming position with ADCS Inc. in San
Diego supporting internal .NET applications.

Previous books by Zak Ruvalcaba include The 10 Minute Guide to Dreamweaver 4 (Que
Publishing) and Dreamweaver MX Unleashed (Sams Publishing). He also lectures on various
technologies and tools including Dreamweaver and ASP.NET for the San Diego Community
College District.

About The Expert Reviewer


As Technical Director for SitePoint, Kevin Yank oversees all of its technical publica-
tions—books, articles, newsletters and blogs. He has written over 50 articles for SitePoint
on technologies including PHP, XML, ASP.NET, Java, JavaScript and CSS, but is perhaps
best known for his book, Build Your Own Database Driven Website Using PHP & MySQL,
also from SitePoint.

Having graduated from McGill University in Montreal with a Bachelor of Computer En-
gineering, Kevin now lives in Melbourne, Australia. In his spare time he enjoys flying light
aircraft and learning the fine art of improvised acting. Go you big red fire engine!

About The Technical Editor


Rich Deeson wrote his first programs at the age of 10 on his father’s work machine, a
380Z with 256k RAM. Since then, his career has taken him around Europe, and has
taught him the ins and outs of many languages, from C++ to Java, from QuickBasic (the
precursor to Visual Basic) to VB.NET, from Perl and CGI to JSP and ASP.NET. Currently,
he is lead JSP developer at ICTI in the UK, and most of his free time is taken up at Uni-
versity, having returned to study last year.

About SitePoint
SitePoint specializes in publishing fun, practical and easy-to-understand content for Web
Professionals. Visit http://www.sitepoint.com/ to access our books, newsletters, articles
and community forums.
For my wife Jessica.
ii
Table of Contents
Preface ..................................................................................................... xi
Who Should Read This Book? ............................................................ xii
What’s Covered In This Book? ........................................................... xii
The Book’s Website ............................................................................ xv
The Code Archive ....................................................................... xv
Updates and Errata .................................................................... xvi
The SitePoint Forums ........................................................................ xvi
The SitePoint Newsletters .................................................................. xvi
Your Feedback ................................................................................... xvi
Acknowledgements ........................................................................... xvii

1. Introduction to .NET and ASP.NET ......................................................... 1


What is .NET? ..................................................................................... 1
What is ASP.NET? .............................................................................. 2
What Do I Need? ................................................................................ 5
Installing the Required Software ........................................................... 5
Installing Internet Information Services (IIS) ................................ 6
Installing Internet Explorer .......................................................... 7
Installing the .NET Framework and SDK ..................................... 8
Configuring IIS ............................................................................ 9
Installing Microsoft Access ......................................................... 18
Installing SQL Server Desktop Engine (MSDE) .......................... 19
Installing and Configuring Web Data Administrator ................... 22
Your First ASP.NET Page ................................................................... 23
The ASP.NET Support Site ................................................................ 29
Summary ........................................................................................... 29

2. ASP.NET Basics .................................................................................... 31


ASP.NET Page Structure .................................................................... 32
Directives .................................................................................. 33
Code Declaration Blocks ............................................................ 34
Code Render Blocks ................................................................... 36
ASP.NET Server Controls .......................................................... 37
Server-Side Comments ............................................................... 38
Server-Side Include Directives .................................................... 39
Literal Text and HTML Tags ...................................................... 39
View State ......................................................................................... 40
Working With Directives ................................................................... 43
ASP.NET Languages .......................................................................... 44
VB.NET .................................................................................... 44
Build Your Own ASP.NET Website Using C# & VB.NET

C# ............................................................................................. 45
Summary .......................................................................................... 45

3. VB.NET and C# Programming Basics ..................................................... 47


Programming Basics ........................................................................... 47
Control Events and Subroutines ................................................. 48
Page Events ............................................................................... 52
Variables and Variable Declaration ............................................. 54
Arrays ........................................................................................ 57
Functions ................................................................................... 59
Operators ................................................................................... 63
Conditional Logic ...................................................................... 65
Loops ........................................................................................ 66
Understanding Namespaces ............................................................... 70
Object Oriented Programming Concepts ............................................ 72
Objects ...................................................................................... 73
Properties .................................................................................. 74
Methods .................................................................................... 75
Classes ....................................................................................... 76
Scope ......................................................................................... 78
Events ........................................................................................ 78
Understanding Inheritance ......................................................... 79
Separating Code From Content With Code-Behind ............................ 79
Summary ........................................................................................... 84

4. Web Forms and Web Controls .............................................................. 85


Working with HTML Controls ........................................................... 86
HtmlAnchor .............................................................................. 87
HtmlButton ............................................................................... 88
HtmlForm ................................................................................. 88
HtmlImage ................................................................................ 89
HtmlGenericControl .................................................................. 89
HtmlInputButton ...................................................................... 90
HtmlInputCheckBox .................................................................. 90
HtmlInputFile ............................................................................ 91
HtmlInputHidden ...................................................................... 91
HtmlInputImage ........................................................................ 91
HtmlInputRadioButton .............................................................. 92
HtmlInputText .......................................................................... 92
HtmlSelect ................................................................................. 92
HtmlTable, HtmlTableRow and HtmlTableCell .......................... 93
HtmlTextArea ............................................................................ 94

iv Order the print version of this book to get all 700+ pages!
Processing a Simple Form ................................................................... 94
Introduction to Web Forms ................................................................ 97
Introduction to Web Controls ............................................................ 98
Basic Web Controls ................................................................. 100
Handling Page Navigation ................................................................ 107
Using The HyperLink Control .................................................. 108
Navigation Objects And Their Methods .................................... 108
Postback .......................................................................................... 112
Formatting Controls with CSS ......................................................... 114
Types of Styles and Style Sheets .............................................. 115
Style Properties ........................................................................ 117
The CssClass Property ............................................................. 118
A Navigation Menu and Web Form for the Intranet Application ....... 119
Introducing the Dorknozzle Intranet Application ..................... 119
Building the Navigation Menu ................................................. 120
Create the Corporate Style Sheet ............................................. 124
Design the Web Form for the Helpdesk Application ................. 127
Summary ......................................................................................... 129

5. Validation Controls ............................................................................ 131


Client-Side vs. Server-Side Validation ............................................... 131
Configuring Client-Side Validation ................................................... 133
Using Validation Controls ................................................................ 135
RequiredFieldValidator ............................................................ 135
CompareValidator .................................................................... 139
RangeValidator ........................................................................ 145
ValidationSummary ................................................................. 149
RegularExpressionValidator ...................................................... 153
CustomValidator ..................................................................... 157
Summary ......................................................................................... 159

6. Database Design and Development .................................................... 161


An Introduction to Databases ........................................................... 161
The Database Management System .................................................. 163
Creating the Database for the Intranet Application ................... 164
Designing Tables for the Intranet Application ........................... 166
Columns and Data Types ......................................................... 169
Inserting Rows ......................................................................... 178
Beyond the Basics ............................................................................ 182
Keys ........................................................................................ 182
Relationship Management ........................................................ 185
Stored Procedures .................................................................... 194

Order the print version of this book to get all 700+ pages! v
Build Your Own ASP.NET Website Using C# & VB.NET

Queries .................................................................................... 195


Security ................................................................................... 195
Summary ......................................................................................... 196

7. Structured Query Language ................................................................ 197


Basic SQL ........................................................................................ 198
Working with the Query Editor in Access ................................. 199
Working with the Query Editor in Web Data Administrator ..... 203
The SELECT Query ................................................................. 204
The INSERT Statement ........................................................... 214
The UPDATE Statement ......................................................... 217
The DELETE Statement .......................................................... 220
Other Clauses .................................................................................. 220
The ORDER BY Clause ............................................................ 220
The GROUP BY and HAVING Clauses .................................... 222
Expressions ...................................................................................... 222
Operators ......................................................................................... 224
Functions ......................................................................................... 226
Date and Time Functions ......................................................... 227
Aggregate Functions ................................................................. 229
Arithmetic Functions ............................................................... 233
String Functions ...................................................................... 235
Joins ................................................................................................ 236
INNER JOIN ........................................................................... 236
OUTER JOIN .......................................................................... 238
Subqueries ....................................................................................... 240
The IN Operator ...................................................................... 240
The Embedded SELECT Statement .......................................... 241
Summary ......................................................................................... 241

8. ADO.NET ........................................................................................... 243


An Introduction to ADO.NET .......................................................... 244
Performing Common Database Queries ............................................ 253
Responding to User Interaction ................................................ 254
Using Parameters with Queries ................................................. 257
Using the Repeater Control ...................................................... 260
Data Binding ........................................................................... 272
Inserting Records ............................................................................. 275
Updating Records ............................................................................ 279
Deleting Records .............................................................................. 288
Handling Updates with Postback ...................................................... 292
Working with Transactions .............................................................. 295

vi Order the print version of this book to get all 700+ pages!
Improving Performance with Stored Procedures ................................ 298
Summary ......................................................................................... 303

9. The DataGrid and DataList Controls ................................................... 305


Working with DataGrids .................................................................. 306
Customizing DataGrids ............................................................ 311
Creating a Master/Detail Form with the HyperLinkColumn ...... 316
Event Bubbling ........................................................................ 323
Working with the EditCommandColumn ................................. 325
Using Templates ...................................................................... 333
Adding ButtonColumns to Delete Rows within a DataGrid ....... 336
Using the DataList Control .............................................................. 339
Customizing DataLists Using Styles ......................................... 344
Editing Items within a DataList ................................................ 346
Creating a Navigation Menu using DataLists ............................ 354
Summary ......................................................................................... 361

10. DataSets .......................................................................................... 363


Understanding DataSets .................................................................. 364
DataSet Elements .................................................................... 367
Binding DataSets to Controls ................................................... 368
Creating a DataGrid that Pages ................................................ 376
Understanding DataTables ............................................................... 379
Creating DataTables Programmatically ..................................... 380
Creating DataColumns Programmatically ................................. 385
Creating DataRows Programmatically ....................................... 387
Setting DataTable Properties Programmatically ........................ 390
Setting DataColumn Properties Programmatically .................... 393
Adding DataColumn Values ..................................................... 398
Defining DataRelations Between DataTables ............................ 402
Understanding DataViews ............................................................... 407
Filtering DataViews ................................................................. 408
Sorting Columns in a DataGrid ................................................ 410
Updating a Database from a Modified DataSet ................................. 414
Summary ......................................................................................... 420

11. Web Applications ............................................................................. 421


Overview of ASP.NET Applications .................................................. 422
Using Application State ................................................................... 423
Working With the Global.asax File ........................................... 428
Using the Web.config File ................................................................ 433
Caching ASP.NET Applications ........................................................ 437
Using Page Output Caching ..................................................... 438

Order the print version of this book to get all 700+ pages! vii
Exploring the Variety of Random
Documents with Different Content
The Project Gutenberg eBook of Œuvres de P.
Corneille, Tome 07
This ebook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this ebook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

Title: Œuvres de P. Corneille, Tome 07

Author: Pierre Corneille

Editor: Charles Joseph Marty-Laveaux

Release date: March 31, 2016 [eBook #51612]


Most recently updated: October 23, 2024

Language: French

Credits: Produced by Hélène de Mink and the Online Distributed


Proofreading Team at http://www.pgdp.net (This file
was
produced from images generously made available by
the
Bibliothèque nationale de France (BnF/Gallica) at
http://gallica.bnf.fr)

*** START OF THE PROJECT GUTENBERG EBOOK ŒUVRES DE P.


CORNEILLE, TOME 07 ***
Note sur la transcription: Les erreurs clairement
introduites par le typographe ont été corrigées.
L'orthographe d'origine a été conservée et n'a pas été
harmonisée. Les numéros des pages blanches n'ont pas
été repris.
LES
GRANDS ÉCRIVAINS
DE LA FRANCE

NOUVELLES ÉDITIONS
PUBLIÉES SOUS LA DIRECTION
DE M. AD. REGNIER
Membre de l'Institut
ŒUVRES
DE

P. CORNEILLE
TOME VII
PARIS.—IMPRIMERIE DE CH. LAHURE ET Cie
Rue de Fleurus, 9
ŒUVRES
DE
P. CORNEILLE

NOUVELLE ÉDITION
REVUE SUR LES PLUS ANCIENNES IMPRESSIONS
ET LES AUTOGRAPHES
ET AUGMENTÉE
de morceaux inédits, des variantes, de notices, de notes, d'un lexique des mots

et locutions remarquables, d'un portrait, d'un fac-simile, etc.

PAR M. CH. MARTY-LAVEAUX


TOME SEPTIÈME

PARIS
LIBRAIRIE DE L. HACHETTE ET Cie
BOULEVARD SAINT-GERMAIN

1862
AGÉSILAS
TRAGÉDIE
1666

NOTICE.
Agésilas fut joué pour la première fois sur le théâtre de l'Hôtel de
Bourgogne, suivant toute apparence au mois de février 1666, et non
«à la fin d'avril» comme l'ont dit les frères Parfait [1]. Les funérailles
de la reine Anne d'Autriche, morte le 19 janvier [2], et le deuil que la
cour prit à cette occasion, interrompirent tout divertissement et
durent contribuer au peu de succès de l'ouvrage. Robinet s'exprime
ainsi dans sa Lettre en vers à Madame du 6 mars 1666:

Ne vous mettez point aux fenêtres


Ni n'allez point traîner vos guêtres
Pour voir des masques, ces jours gras,
Bonnes gens, vous n'en verrez pas.
Messieurs les foux de tous étages
Seront une fois de faux sages,
Pour le respect (bien entendu)
Par tout françois justement dû
Aux cendres de cette princesse,
Que nous pleurons encor sans cesse.
Mais vous avez pour supplément
Le noble divertissement
Que vous donnent les doctes veilles
De l'aîné des braves Corneilles:
Son charmant Agésilaus,
Où sa veine coule d'un flus
Qui fait admirer à son âge
Ce grand et rare personnage.

Cette faible louange trouva peu d'écho. La pièce ne suscita ni cabale,


ni libelles, ni parodies: elle tomba obscurément, et nous ne pouvons
même retrouver la trace de cette chute, dont le souvenir ne nous a
guère été conservé que par deux vers d'une épigramme, que Boileau
fit à l'occasion d'Attila [3].
Un concurrent redoutable venait de se faire jour. Agésilas parut trois
mois après l'Alexandre de Racine. «La révolution qui se fit alors dans
les sentiments du public, dit Jolly [4], le parti que prit le plus grand
nombre en faveur du nouveau poëte, forment une époque à laquelle
on peut rapporter la naissance d'un genre inconnu de tragédie, où
l'amour dominoit sur toutes les autres passions. M. Quinault l'avoit
ébauché avec quelque succès, dix ans auparavant [5], mais non pas
avec autant d'éclat.»
«Agésilas, comme nous l'apprennent les frères Parfait [6], n'a jamais
été remis au théâtre.»
Le privilége de cette tragédie a été donné à Corneille le «vingt-
quatrième mars 1666,» et l'Achevé d'imprimer a pour date: «le 3.
iour d'Avril 1666.»
Voici le titre exact de la pièce dans l'édition originale: AGESILAS,
TRAGEDIE. En Vers libres rimez [7]. Par P. Corneille. A Rouen, et se
vend à Paris, chez Guillaume de Luyne, Libraire Iuré, au Palais....
M.DC.LXVI. Auec priuilege du Roy. Le volume, de format in-12, se
compose de deux feuillets, de 88 pages, et d'un dernier feuillet
contenant le privilége.
AU LECTEUR.
Il ne faut que parcourir les Vies d'Agésilas et de Lysander chez
Plutarque, pour démêler ce qu'il y a d'historique dans cette
tragédie [8]. La manière dont je l'ai traitée n'a point d'exemple parmi
nos François, ni dans ces précieux restes de l'antiquité qui sont
venus jusqu'à nous; et c'est ce qui me l'a fait choisir. Les premiers
qui ont travaillé pour le théâtre, ont travaillé sans exemple, et ceux
qui les ont suivis y ont fait voir quelques nouveautés de temps en
temps. Nous n'avons pas moins de privilége. Aussi notre Horace, qui
nous recommande tant la lecture des poëtes grecs par ces paroles:
Vos exemplaria Græca
Nocturna versate manu, versate diurna [9],
ne laisse pas de louer hautement les Romains d'avoir osé quitter les
traces de ces mêmes Grecs, et pris d'autres routes:

Nil intentatum nostri liquere poetæ;


Nec minimum meruere decus, vestigia Græca
Ausi deserere [10].

Leurs règles sont bonnes; mais leur méthode n'est pas de notre
siècle; et qui s'attacheroit à ne marcher que sur leurs pas, feroit
sans doute peu de progrès, et divertiroit mal son auditoire. On court,
à la vérité, quelque risque de s'égarer, et même on s'égare assez
souvent, quand on s'écarte du chemin battu; mais on ne s'égare pas
toutes les fois qu'on s'en écarte: quelques-uns en arrivent plus tôt
où ils prétendent, et chacun peut hasarder à ses périls.
LISTE DES ÉDITIONS QUI ONT ÉTÉ
COLLATIONNÉES
POUR LES VARIANTES D'AGÉSILAS.

ÉDITION SÉPARÉE.
1666 in-12.
RECUEILS.
1668 in-12; | 1682 in-12.

ACTEURS [11].

AGÉSILAS, roi de Sparte.


LYSANDER, fameux capitaine de Sparte.
COTYS, roi de Paphlagonie [12].
SPITRIDATE, grand seigneur persan.
MANDANE, sœur de Spitridate.
ELPINICE,
AGLATIDE, } filles de Lysander.
XÉNOCLÈS, lieutenant d'Agésilas.
CLÉON, orateur grec,
natif d'Halicarnasse.

La scène est à Ephèse.


AGÉSILAS.
TRAGÉDIE.
ACTE I.

SCÈNE PREMIÈRE.

ELPINICE, AGLATIDE.

AGLATIDE.

Ma sœur, depuis un mois nous voilà dans Éphèse [13],


Prêtes à recevoir ces illustres époux
Que Lysander, mon père, a su choisir pour nous;
Et ce choix bienheureux n'a rien qui ne vous plaise.
Dites-moi toutefois, et parlons librement,5
Vous semble-t-il que votre amant
Cherche avec grande ardeur votre chère présence?
Et trouvez-vous qu'il montre, attendant ce grand jour,
Cette obligeante impatience
Que donne, à ce qu'on dit, le véritable amour?10

ELPINICE.

Cotys est roi, ma sœur; et comme sa couronne


Parle suffisamment pour lui,
Assuré de mon cœur, que son trône lui donne,
De le trop demander il s'épargne l'ennui.
Ce me doit être assez qu'en secret il soupire,15
Que je puis deviner ce qu'il craint de trop dire,
Et que moins son amour a d'importunité,
Plus il a de sincérité.
Mais vous ne dites rien de votre Spitridate:
Prend-il autant de peine à mériter vos feux20
Que l'autre à retenir mes vœux?

AGLATIDE.

C'est environ ainsi que son amour éclate:


Il m'obsède à peu près comme l'autre vous sert.
On diroit que tous deux agissent de concert,
Qu'ils ont juré de n'être importuns l'un ni l'autre:25
Ils en font grand scrupule; et la sincérité
Dont mon amant se pique, à l'exemple du vôtre,
Ne met pas son bonheur en l'assiduité.
Ce n'est pas qu'à vrai dire il ne soit excusable:
Je préparai pour lui, dès Sparte, une froideur30
Qui, dès l'abord, étoit capable
D'éteindre la plus vive ardeur;
Et j'avoue entre nous qu'alors qu'il [14] me néglige,
Qu'il se montre à son tour si froid, si retenu,
Loin de m'offenser, il m'oblige,35
Et me remet un cœur qu'il n'eût pas obtenu.

ELPINICE.

J'admire cette antipathie


Qui vous l'a fait haïr avant que de le voir,
Et croirois que sa vue auroit eu le pouvoir
D'en dissiper une partie;40
Car enfin Spitridate a l'entretien charmant,
L'œil vif, l'esprit aisé, le cœur bon, l'âme belle.
A tant de qualités s'il joignoit un vrai zèle....

AGLATIDE.

Ma sœur, il n'est pas roi, comme l'est votre amant.

ELPINICE.
Mais au parti des Grecs il unit deux provinces;45
Et ce Perse vaut bien la plupart de nos princes [15].

AGLATIDE.

Il n'est pas roi, vous dis-je, et c'est un grand défaut.


Ce n'est point avec vous que je le dissimule,
J'ai peut-être le cœur trop haut;
Mais aussi bien que vous je sors du sang d'Hercule [16];50
Et lorsqu'on vous destine un roi pour votre époux,
J'en veux un aussi bien que vous.
J'aurois quelque chagrin à vous traiter de reine,
A vous voir dans un trône assise en souveraine,
S'il me falloit ramper dans un degré plus bas;55
Et je porte une âme assez vaine
Pour vouloir jusque-là vous suivre pas à pas.
Vous êtes mon aînée, et c'est un avantage
Qui me fait vous devoir grande civilité;
Aussi veux-je céder le pas devant [17] à l'âge, 60
Mais je ne puis souffrir autre inégalité.

ELPINICE.

Vous êtes donc jalouse, et ce trône vous gêne


Où la main de Cotys a droit de me placer!
Mais si je renonçois au rang de souveraine,
Voudriez-vous y renoncer? 65

AGLATIDE.

Non, pas sitôt: j'ai quelque vue


Qui me peut encore amuser.
Mariez-vous, ma sœur; quand vous serez pourvue,
On trouvera peut-être un roi pour m'épouser.
J'en aurois un déjà, n'étoit ce rang d'aînée70
Qui demandoit pour vous ce qu'il vouloit m'offrir,
Ou s'il eût reconnu qu'un père eût pu souffrir
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

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.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookultra.com

You might also like