What is difference between a DataTable and a DataReader

Total Post:9

Points:63
 671  View(s)
Ratings:
Rate this:
Hi i am new for Ado.net .i faced a problem and little confusion between  DataTable and DataReader ..
please help 
  1. Post:13

    Points:91
    Re: What is difference between a DataTable and a DataReader

    DataReader
    1. Its an connection oriented, whenever you want fetch the data from database that you need the connection. after fetch the data connection is diconnected. 
    2. Its an Read only format, you cann't update records.


    DataTable
    A DataTable object represents a single table in the database. It has a name rows and columns.
    There is not much difference between dataset and datatable, dataset is just the collection of datatables.



      Modified On Apr-11-2018 11:11:44 PM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.