Académique Documents
Professionnel Documents
Culture Documents
v=aoFDyt8oG0k&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7
1. What is ADO.NET
2. What are Dot Net Data Providers
https://www.youtube.com/watch?
v=Mo0ECWKVVDU&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=2
1. Instantiating a SqlConnection object
2. Using the SqlConnection object
3. Why is it important to close a database connection
4. How to properly close a connection
https://www.youtube.com/watch?
v=pBCPc44CE74&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=3
1. Storing connection strings in a configuration file. For example, web.config for
an asp.net web application and app.config for windows application
2. Reading the connection strings from web.config and app.config files.
3. Disadvantages of storing connection strings in application code.
4. Advantages of storing connection string in configuration files - web.config and
app.config.
https://www.youtube.com/watch?
v=vDvV3KrRuMA&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=4
1. The Purpose of the SqlCommand object
2. Creating an instance of the SqlCommand class
3. When and how to use ExecuteReader(), ExecuteScalar() and ExecuteNonQuery()
methods of the SqlCommand object.
https://www.youtube.com/watch?
v=Zv9i1S_dkTI&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=5
sql injection attack and what can cause it to happen
https://www.youtube.com/watch?
v=QKhHkEmv3Kw&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=6
1. Preventing sql injection using parametrized queries and stored procedures.
2. How to execute stored procedures and parameterized queries using ADO.NET command
object
https://www.youtube.com/watch?
v=stIWeAcO45Y&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=7
calling a stored procedure with output parameters from an asp.net web application.
https://www.youtube.com/watch?
v=EzwBuqILfds&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=8
1. The purpose of SqlDataReader
2. Creating an instance of SqlDataReader
3. Reading data using SqlDataReader's Read() method
https://www.youtube.com/watch?v=rovj0xmM-
0M&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=9
retrieving two or more result sets using the SqlDataReader object's NextResult()
method.
https://www.youtube.com/watch?v=vN-
CZYP2ZuY&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=10
1. SqlDataAdapter in ado.net
2. DataSet in asp.net
https://www.youtube.com/watch?
v=TsKx5CLisSM&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=11
1. Loading 2 or more tables into a DataSet, and giving these tables a meaningful
name.
2. Binding the tables in the DataSet to user interface databound controls like
GridView, using the Tables collection property of the DataSet object.
https://www.youtube.com/watch?
v=Zqxrwg0rygk&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=12
1. Caching a DataSet
2. Check to see if the DataSet exists in the cache, and load data from the cache.
3. Clearing the cache
https://www.youtube.com/watch?
v=F811ruWEHjY&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=13
SqlCommandBuilder automatically generates INSERT, UPDATE and DELETE sql statements
based on the SELECT statement for a single table.
https://www.youtube.com/watch?
v=tZhel7ffUjY&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=14
Please watch Part 13 from ADO.NET tutorial, before proceeding.
https://www.youtube.com/watch?
v=vfG6DlrXX0Q&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=15
ADO.NET offers two data access modes
1. Connection oriented data access
2. Disconnected data access
https://www.youtube.com/watch?
v=lTitBo4Z44U&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=16
This is continuation to Part 15. Please watch Part 15, before proceeding.
https://www.youtube.com/watch?
v=fTPc9bCZrnY&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=17
1. What are strongly typed datasets
2. Advantage of using strongly typed datasets over untyped datasets
3. Steps to generate a typed dataset using visual studio
https://www.youtube.com/watch?
v=FOVROz5wc64&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=18
1. What is the use of SqlBulkCopy class
2. Loading xml data into sql server table using sqlbulkcopy
https://www.youtube.com/watch?
v=nNT1blpxvR4&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=19
copying data from one table to another table
https://www.youtube.com/watch?
v=cT7F0oL17Vs&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=20
1. BatchSize property
2. NotifyAfter property
3. SqlRowsCopied event
https://www.youtube.com/watch?
v=Jpb2Fgkkmso&list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7&index=21
c# transaction operation
c# transaction rollback on exception
c# transaction try catch
c# transaction using rollback