Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 24th, 2005, 05:20 AM
Registered User
 
Join Date: Mar 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Curosrs in dotnet

Hi ,
Can we use cursors in dotnet if yes how?
Reply With Quote
  #2 (permalink)  
Old March 24th, 2005, 12:58 PM
Friend of Wrox
 
Join Date: Oct 2004
Location: India.
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

wht exactly u wanna ask ?????
we have Cursors in SQL Server

Reply With Quote
  #3 (permalink)  
Old March 28th, 2005, 01:21 AM
Friend of Wrox
 
Join Date: Jul 2004
Location: , , India.
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

Yes, please post your exact requirement.

Mousepointer cursor :
'Cursor.Current = Cursors.WaitCursor' or by setting the form's/control's 'Cursor' property to 'Cursors.WaitCursor'.

Or

Cursors in SQL Server:
What are cursors and its types?
Cursors allow row-by-row prcessing of the resultsets.
Types of cursors: Static, Dynamic, Forward-only, Keyset-driven.




Gokulan Ethiraj
Reply With Quote
  #4 (permalink)  
Old March 28th, 2005, 02:16 AM
Registered User
 
Join Date: Mar 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi ,
I wanted to know about the CursorType property to specify the type of cursor that should be used when opening the Recordset object.
Like in VB there are four cursor types, three of which are supported under Connector/ODBC:
adOpenStatic (Client-Side)
adOpenForwardOnly (Server-Side)
adOpenDynamic (Server-Side)
Is thr anything similar in dotnet also.






Reply With Quote
  #5 (permalink)  
Old March 28th, 2005, 10:13 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

ADO.NET uses a different approach. Look at DataReader for a connected firehose style cursor. Dataset, on the other hand, is a client side snapshot of a datastore, either one table or many but always disconnected from the actual data except when it is filled or updates are posted.

--

Joe (Microsoft MVP - XML)
Reply With Quote
  #6 (permalink)  
Old March 31st, 2005, 06:15 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: India.
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

ADO .NET uses a different technology.

DataReader object is like a Read Only Forward Only strear of data
and DataTable and DataSet object is like client side cursor
they contain a snapshot of the database at any point of time



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dotnet with MySQL angshujit ASP.NET 2.0 Basics 3 June 13th, 2007 08:39 PM
datagrid in dotnet kejalmistry BOOK: ASP.NET Website Programming Problem-Design-Solution 1 September 12th, 2005 06:58 AM
Dotnet problem ginnyc0802 VS.NET 2002/2003 1 June 1st, 2005 09:13 AM
Functionality in Dotnet anand_asv General .NET 1 April 8th, 2005 02:49 AM



All times are GMT -4. The time now is 10:15 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.