Wednesday, 29 January 2014

ADO.NET Fundamentals

 

 

ADO.NET Overview

 

image

 

 

 

image

 

 

 

 

image

 

 

 

 

 

Setting Up Your Environment

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

image

 

 

 

 

 

Connect to A Data Source Using ADO.NET

 

image

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

Setup and Connecting with WinForm

 

image

 

 

 

SqlConnectionStringBuilder

 

image

 

 

 

image

 

 

 

image

 

 

 

 

 

 

 

Retrieving Data from A Data Source

 

image

 

 

 

Build SQL Statement

 

image

 

 

 

 

Implement Data Layer

 

image

 

 

 

 

image

 

 

 

 

Design Winform Application

 

image

 

 

 

image

 

 

 

image

 

 

 

 

Store Procedure call via ADO.NET

 

image

 

 

 

image

 

 

 

 

 

Inserting, Deleting, Updating Data from A Data Source

 

image_thumb[90]

 

 

 

 

 

Prepare Execute Non Query

 

image_thumb[93]

 

 

 

 

Creating Stored Procedure

 

image_thumb[95]

 

 

 

 

image_thumb[97]

 

 

 

 

 

Inserts With Execute Scalar

 

image_thumb[101]

 

 

 

image_thumb[99]

 

 

 

image_thumb[104]

 

 

 

 

Using Output parameter

 

image_thumb[106]

 

 

 

image_thumb[108]

 

 

 

image_thumb[110]

 

 

 

 

 

Using Return Value parameter

 

image_thumb[112]

 

 

image_thumb[115]

 

 

 

image_thumb[117]

 

 

 

 

 

Delete information from DB via Execute Non Query

 

image_thumb[119]

 

 

 

 

image_thumb[121]

 

 

 

image_thumb[123]

 

 

 

 

image_thumb[125]

 

 

 

 

Updates with Execute Non Query

 

image_thumb[127]

 

 

 

 

image_thumb[129]

 

 

 

 

image_thumb[131]

 

 

 

image_thumb[133]

 

 

 

 

Understanding Errors with ADO.NET

 

image_thumb[135]

 

 

 

image_thumb[138]

 

 

 

image_thumb[140]

 

 

 

 

 

image_thumb[142]

 

 

 

 

image_thumb[145]

 

 

 

 

image_thumb[147]

 

 

 

 

Catch SQL Exception Errors

 

image

 

 

 

image

 

Note:  Change the Date source which does not exist.

 

 

 

 

image

 

 

 

 

Use Raise Error

 

image

 

 

 

image

 

 

 

image

 

 

 

 

Using SQL Data Adapter

 

image

 

 

 

 

image

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

Load A Data Table via SQL Adapter

 

image

 

 

 

 

Bind the Data Table

 

 

image

 

 

image

 

 

 

image

 

 

 

 

Update with SQL Adapter

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

 

Client Side Performance Tracking

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

Setup Client Statistics

image

 

 

 

 

image

 

 

 

 

Retrieve Statistics

 

image

 

 

 

 

 

Display All statistics

 

image

 

 

 

 

image

 

 

 

image

 

 

image

 

 

 

 

Round Trips

 

image

 

 

 

image

 

 

 

 

 

Managing Concurrency and Transactions

 

image

 

 

 

 

image

 

 

 

 

image

 

image

 

 

 

 

 

 

image

 

 

 

 

 

Concurrency checkings with WHERE Clause

 

image

 

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

Concurrency checking with SQL Adapter

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

 

 

Concurrency checking with Time Stamp

 

image

 

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

 

 

 

SQL Transaction

 

image

 

 

 

image

 

 

 

 

 

Transaction Scope

 

image

 

 

 

 

image

 

 

Note: If you make different DB server calls in this transaction scope that is called as DTC.

 

 

 

Server Transaction

 

image

 

 

 

 

 

Connection Pooling

 

image

 

 

 

image

image

 

 

 

 

image

 

 

 

 

image

 

image

 

 

 

 

 

image

 

 

 

 

SQL Server Profiler and Pooling

 

image

 

 

image

 

 

 

image

 

 

 

image

 

 

 

 

Performance Monitor and Pooling

 

image

 

 

image

 

 

 

image

 

 

 

image

 

 

image

 

 

 

 

 

Using XML with ADO.NET

 

image

 

 

 

 

image

 

 

 

 

Writing XML into DB

 

image

 

 

 

image

 

 

 

image

 

 

 

 

 

Reading XML from DB

 

image

 

 

 

image

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

image

 

 

Blogger Labels: Fundamentals,Overview,Environment,Connect,Data,Source,Setup,WinForm,SqlConnectionStringBuilder,Build,Statement,Implement,Layer,Design,Application,Procedure,Prepare,Execute,Query,Inserts,Scalar,Output,parameter,Return,Value,Delete,information,Updates,Errors,Catch,Exception,Note,Change,Date,Raise,Error,Adapter,Load,Table,Bind,Update,Client,Side,Performance,Statistics,Retrieve,Display,Round,Trips,Concurrency,Transactions,WHERE,Clause,Time,Stamp,Transaction,Scope,server,Connection,Profiler,Monitor

No comments:

Post a Comment