State the difference between data set and data reader with example
Answers
Answered by
0
hey ❕ here's your answer
Dataset:
1. Disconnected.
2. Can traverse data in any order front, back.
3. Data can be manipulated within the dataset.
4. More expensive than datareader as it stores multiple rows at the same time.
Datareader:
1. Connection needs to be maintained all the time.
2. Can traverse only forward.
3. It is read only therefore, data cannot be manipulated.
4. It is less costly because it stores one row at a time.
hope it helps you plz mark as brainliest
Dataset:
1. Disconnected.
2. Can traverse data in any order front, back.
3. Data can be manipulated within the dataset.
4. More expensive than datareader as it stores multiple rows at the same time.
Datareader:
1. Connection needs to be maintained all the time.
2. Can traverse only forward.
3. It is read only therefore, data cannot be manipulated.
4. It is less costly because it stores one row at a time.
hope it helps you plz mark as brainliest
Similar questions