Difference between datareader and dataset ?
Answer Posted / j_baghla
Datareader is used for readonly-forward only data.We can't
update the database by datareader.We can store more than
one resultset in the datareader so we can't create the
relations between the tables.There is no record pointer to
read the data in the datareader.We can read the datat from
the datareader by using reader method.
Dataset can contain more than one table and we can create
relationships among those tables.we can read the data by
for each loop.Dataset can contain data from different
datasources like oracle,sqlserver,access etc.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the difference between Hash table and Array list?
What are sql joins?
What is http request and response?
What is the best Macanism to clear the Cache in asp.net
Explain the use of duration attribute of @outputcache page directive.
What are Caching techniques in .NET
Name some asp objects?
Is data edited in the Repeater control?
How can we create a website?
Can we have multiple web config files for an asp.net application?
Why do we use asp.net?
What are directives in asp.net?
Explain page output caching?
What is the difference between client-side and server-side validations in webpages?
What I need to create and run an asp.net application?