Beginning C# 2005 Databases PHẦN 1 pot

53 294 0
Beginning C# 2005 Databases PHẦN 1 pot

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Updates xiv 70 75 87 90 91 94 95 10 2 10 3 10 4 10 7 11 0 11 1 11 3 11 3 11 4 11 5 11 6 11 7 11 9 12 5 12 5 12 5 44063ftoc.qxd:WroxBeg 9 /12 /06 3 :17 PM Page xv Contents Updating Data from Detail Views Updating Multiple Tables Updating Long Text Data for DataGridView Displays Saving Data When the Application Closes Summary Exercises Chapter 5: Databases and the Internet 12 6 13 0 14 1 14 5 14 6 14 7 14 9 Web versus Windows Applications... Views Master/Detail Views Summary Exercises Chapter 6: Accessing Databases Programmatically Database Connections 15 7 15 8 16 3 16 3 16 4 16 4 16 5 16 6 16 6 16 7 17 0 17 0 17 4 17 6 18 4 18 7 19 0 19 1 19 3 19 4 Creating Connections Connection State Connection Pooling 19 4 19 6 19 7 Database Commands 19 7 Creating Commands 19 7 xv 44063ftoc.qxd:WroxBeg 9 /12 /06 3 :17 PM Page xvi Contents Command Types Command Execution Methods... Available? MySQL and PostgreSQL DB2, Oracle, and SQL Server SQL Server 2005 Express Edition How Do You Use a Database? A SQL Primer XML Summary Exercises xi xix 1 2 3 8 8 9 9 9 10 10 10 11 11 12 13 13 14 14 14 15 15 16 16 17 18 30 33 34 44063ftoc.qxd:WroxBeg 9 /12 /06 3 :17 PM Page xiv Contents Chapter 2: Databases and C# Database Access in C# ADO.NET Data Binding Visual Tools Express Products SQL Server Management... Data Reader Objects Using Existing NET Classes Basic Data-Aware Class Design DataAwareObjects Class Library xvi 19 8 19 8 200 2 01 205 205 206 210 212 213 218 219 220 226 226 228 232 239 240 2 41 242 243 254 256 258 264 2 71 272 276 289 290 2 91 2 91 293 294 298 303 304 44063ftoc.qxd:WroxBeg 9 /12 /06 3 :17 PM Page xvii Contents Binding to Object Data Windows Applications Web Applications Summary Exercises Chapter... Assemblies to SQL Server Requirements of CLR Integration Code Registering CLR Code Common Features of CLR Integrated Code Code Structure Data Access 387 400 4 01 402 404 414 415 417 418 419 420 422 422 422 423 423 xvii 44063ftoc.qxd:WroxBeg 9 /12 /06 3 :17 PM Page xviii Contents Call Context SqlPipe Managed Functions and Stored Procedures Scalar Functions Table-Valued Functions Aggregate Functions Stored Procedures... Appendix B: Database Installation 467 Appendix C: Answers to Exercises 473 Index xviii 483 44063flast.qxd:WroxBeg 9 /12 /06 3:45 PM Page xix Introduction Welcome to Beginning C# 2005 Databases! In this book you learn everything you need to know about developing C# applications that access databases If you are wondering why this is such an important topic, just consider how many applications use the functionality... you don’t spot “your” error on the book’s Errata page, click the Errata Form link and complete the form there to send us the error you have found We’ll check the information and, if appropriate, post a message to the book’s errata page and fix the problem in subsequent editions of the book xxiii 44063flast.qxd:WroxBeg 9 /12 /06 3:45 PM Page xxiv 44063c 01. qxd:WroxBeg 9 /12 /06 10 :30 PM Page 1 1 Database... Closes Summary Exercises Chapter 5: Databases and the Internet 12 6 13 0 14 1 14 5 14 6 14 7 14 9 Web versus Windows Applications Data Binding in ASP.NET ASP.NET Data Connections 15 0 15 1 15 2 Local Database File Connections Remote Connections 15 3 15 3 ASP.NET Data Source Controls Data Source Configuration Additional Data Source Control Functionality ASP.NET Data Display Control Summary GridView DataList Repeater... the basics and the rest will come easily In this chapter, you learn: ❑ What databases are ❑ The terminology used for databases ❑ The features are offered by database management systems ❑ What database management systems are available ❑ How to manipulate data in a database 44063c 01. qxd:WroxBeg 9 /12 /06 10 :30 PM Page 2 Chapter 1 What Is a Database? It’s fair to say that most computing applications make... applications, it can become an issue 7 44063c 01. qxd:WroxBeg 9 /12 /06 10 :30 PM Page 8 Chapter 1 Object Oriented Database Management Systems There are some situations where the integration between applications and databases must be far stronger than is possible when using RDBMSes, again mostly in high-performance applications One approach that’s been quite successful is for databases to store objects directly so . 10 4 Filtering Data 10 7 Summary 11 0 Exercises 11 1 Chapter 4: Modifying Data 11 3 Data Modification Prerequisites 11 3 Database Security 11 4 Database Views 11 5 Application Data Sources 11 6 How to Avoid. Databases 44063ffirs.qxd:WroxBeg 9 /12 /06 3 :17 PM Page i 44063ffirs.qxd:WroxBeg 9 /12 /06 3 :17 PM Page ii Beginning C# 2005 Databases Karli Watson 44063ffirs.qxd:WroxBeg 9 /12 /06 3 :17 PM Page iii Beginning C# 2005 Databases Published. 9 Stored Procedures 10 Triggers 10 E-mail 10 Indexes 11 Security 11 Concurrency Control 12 Transactions 13 Remote Access 13 Backups 14 Mirroring and Partitioning 14 Management Tools 14 What RDBMSes

Ngày đăng: 08/08/2014, 18:21

Tài liệu cùng người dùng

Tài liệu liên quan