Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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?
 
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

 
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
 
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.






 
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)
 
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







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





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