Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: what's the point of using a dataset in ASP.net?

Reply
Thread Tools

Re: what's the point of using a dataset in ASP.net?

 
 
Naveen K Kohli
Guest
Posts: n/a
 
      06-27-2003
Ofcourse.. if you are using the data as read only. But if you have to go
back and froth between records then you can't do that with DataReader.

--
Naveen K Kohli
http://www.netomatix.com
"neil m" <(E-Mail Removed)> wrote in message
news:6x2La.308229$(E-Mail Removed) a...
> what's the point of using a dataset in ASP.net?
>
> why not just use datareader?
>
> thx
>
> nm
>
>



 
Reply With Quote
 
 
 
 
neil m
Guest
Posts: n/a
 
      06-27-2003
how is data not read-only if you are showing it as an HTML webpage?

what do you mean going back and forth between records?


"Naveen K Kohli" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Ofcourse.. if you are using the data as read only. But if you have to go
> back and froth between records then you can't do that with DataReader.
>
> --
> Naveen K Kohli
> http://www.netomatix.com
> "neil m" <(E-Mail Removed)> wrote in message
> news:6x2La.308229$(E-Mail Removed) a...
> > what's the point of using a dataset in ASP.net?
> >
> > why not just use datareader?
> >
> > thx
> >
> > nm
> >
> >

>
>



 
Reply With Quote
 
 
 
 
Ante Perkovic
Guest
Posts: n/a
 
      06-28-2003
neil m wrote:

> how is data not read-only if you are showing it as an HTML webpage?


You can store data from database to dataset, investigate it, perform
complicated operation on dataset (add, delete, update, just like it is
database itself) and simply call some methods to update the database
accordingly to changes you made to dataset.

> what do you mean going back and forth between records?


Every time you call datareader.read() method, one row from database is
transferred to your asp.net code. You can only read it (can't change it), you
can't (without repeating the query) go back to previous row, once you read
the next row.

HTH, Ante

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Share-Point-2010 ,Share-Point -2010 Training , Share-point-2010Hyderabad , Share-point-2010 Institute Saraswati lakki ASP .Net 0 01-06-2012 06:39 AM
using L2 connection as Point-To-Point rsurf Cisco 0 07-13-2007 08:07 PM
Scenario 5: IS-IS routing on Frame Relay Multi-point and Point-to-Point David Sudjiman Cisco 0 06-08-2006 09:11 AM
Re: what's the point of using a dataset in ASP.net? Kevin Spencer ASP .Net 0 06-30-2003 11:44 AM
what's the point of using a dataset in ASP.net? Terance Emory ASP .Net 0 06-28-2003 11:17 AM



Advertisments