LICT .NET Training | Kamal Protap Sir | Part 2

07.11.17 Vids
DataAdapater vs DataReader:

SqlDataReader row by row executes from the table

ExecuteReader() always executes the query to the data reader object.

Using data reader:

Using data adapter:

 

Difference between DataReader and DataAdapter:

Using data adapter:
First we call data adapter then data set

 

DataSet is a disconnected architecture
DataReader is a connected architecture

 

DataRow()

With DataAdapter:

Whole datagridview has been binded with the data.

 

Stored procedure in Our Application:

 

 

 

 

Spread the love