G
Guest
Please someone explain this to me ! From what I understand ADO.NET is
disconnected. Ok. I have Windows app with a student table with about 15000
students. In ADO I would open a server side cursor and page thru the table in
a custom grid I built. So at most I would retrieve about 20 records or so per
page (depending on no of displayable rows). Now with ADO.NET I will have to
send the whole 15000 records
to the client in a DataSet. How can this be good ? I just don't get how
everyone claims server side cursor slow down an app. In ADO I retrieve 20
records at a time in a grid and it's instataneous. In .NET it's slowwwwwww.
This is just one example but my database is extremely large (over 2000 SQL
server tables). If I have many users opening the student module at the same
time, they have to wait and wait to get those 15000 records when I only need
an initial set of records to display the first page... I just don't
understand how real systems are done in a disconnected manner.
disconnected. Ok. I have Windows app with a student table with about 15000
students. In ADO I would open a server side cursor and page thru the table in
a custom grid I built. So at most I would retrieve about 20 records or so per
page (depending on no of displayable rows). Now with ADO.NET I will have to
send the whole 15000 records
to the client in a DataSet. How can this be good ? I just don't get how
everyone claims server side cursor slow down an app. In ADO I retrieve 20
records at a time in a grid and it's instataneous. In .NET it's slowwwwwww.
This is just one example but my database is extremely large (over 2000 SQL
server tables). If I have many users opening the student module at the same
time, they have to wait and wait to get those 15000 records when I only need
an initial set of records to display the first page... I just don't
understand how real systems are done in a disconnected manner.