Professional Web Applications Themes

Database cursors in .NET 2003 - ASP.NET General

Hi, What was lacked in .NET 2002 was a database cursor that did the same thing as in traditional ASP, i.e. .MoveFirst, MoveNext and so on. I've been reading articles and books where it's been said that in a future version of ADO.NET there should come these cursors that where you can move through a dataset with .MoveNext and it's alike, not having to deal with the index of the dataset. Has tis been implemented in .NET 2003? And if, where can I find it in MSDN? /Kenneth...

  1. #1

    Default Database cursors in .NET 2003

    Hi,

    What was lacked in .NET 2002 was a database cursor that
    did the same thing as in traditional ASP, i.e. .MoveFirst,
    MoveNext and so on.

    I've been reading articles and books where it's been said
    that in a future version of ADO.NET there should come
    these cursors that where you can move through a dataset
    with .MoveNext and it's alike, not having to deal with the
    index of the dataset.

    Has tis been implemented in .NET 2003? And if, where can I
    find it in MSDN?

    /Kenneth
    Kenneth Guest

  2. #2

    Default Re: Database cursors in .NET 2003

    Kenneth,

    Maybe someone from Microsoft will correct me, but I don't think it's been
    implemented yet.

    Sincerely,

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche


    "Kenneth" <kenneth.philpchello.se> wrote in message
    news:0c9701c35cd7$02d1e520$a301280aphx.gbl...
    > Hi,
    >
    > What was lacked in .NET 2002 was a database cursor that
    > did the same thing as in traditional ASP, i.e. .MoveFirst,
    > MoveNext and so on.
    >
    > I've been reading articles and books where it's been said
    > that in a future version of ADO.NET there should come
    > these cursors that where you can move through a dataset
    > with .MoveNext and it's alike, not having to deal with the
    > index of the dataset.
    >
    > Has tis been implemented in .NET 2003? And if, where can I
    > find it in MSDN?
    >
    > /Kenneth

    S. Justin Gengo Guest

  3. #3

    Default Re: Database cursors in .NET 2003

    Thought so, because I can't find anything about it in MSDN.

    /Kenneth
    >-----Original Message-----
    >Kenneth,
    >
    >Maybe someone from Microsoft will correct me, but I don't
    think it's been
    >implemented yet.
    >
    >Sincerely,
    >
    >--
    >S. Justin Gengo, MCP
    >Web Developer
    >
    >Free code library at:
    >[url]www.aboutfortunate.com[/url]
    >
    >"Out of chaos comes order."
    > Nietzche
    >
    >
    >"Kenneth" <kenneth.philpchello.se> wrote in message
    >news:0c9701c35cd7$02d1e520$a301280aphx.gbl...
    >> Hi,
    >>
    >> What was lacked in .NET 2002 was a database cursor that
    >> did the same thing as in traditional ASP,
    i.e. .MoveFirst,
    >> MoveNext and so on.
    >>
    >> I've been reading articles and books where it's been
    said
    >> that in a future version of ADO.NET there should come
    >> these cursors that where you can move through a dataset
    >> with .MoveNext and it's alike, not having to deal with
    the
    >> index of the dataset.
    >>
    >> Has tis been implemented in .NET 2003? And if, where
    can I
    >> find it in MSDN?
    >>
    >> /Kenneth
    >
    >
    >.
    >
    Kenneth Guest

  4. #4

    Default Re: Database cursors in .NET 2003

    There is no direct correlation, but you can use a DataReader in a manner
    very similar to the Recordset object. You use Read() to get a record and
    then manipulate the items in it. You Read() again to advance.

    --
    Gregory A. Beamer
    MVP; MCP: +I, SE, SD, DBA
    Author: ADO.NET and XML: ASP.NET on the Edge

    ************************************************** **************************
    ****
    Think Outside the Box!
    ************************************************** **************************
    ****
    "Kenneth" <kenneth.philpchello.se> wrote in message
    news:0c9701c35cd7$02d1e520$a301280aphx.gbl...
    > Hi,
    >
    > What was lacked in .NET 2002 was a database cursor that
    > did the same thing as in traditional ASP, i.e. .MoveFirst,
    > MoveNext and so on.
    >
    > I've been reading articles and books where it's been said
    > that in a future version of ADO.NET there should come
    > these cursors that where you can move through a dataset
    > with .MoveNext and it's alike, not having to deal with the
    > index of the dataset.
    >
    > Has tis been implemented in .NET 2003? And if, where can I
    > find it in MSDN?
    >
    > /Kenneth

    Cowboy \(Gregory A. Beamer\) Guest

Similar Threads

  1. Cursors
    By flashster in forum Macromedia Director Lingo
    Replies: 8
    Last Post: December 12th, 01:47 PM
  2. posible BUG in CURSORS...
    By Gabriel Sebastián Rivera in forum Macromedia Director Lingo
    Replies: 1
    Last Post: December 2nd, 02:58 PM
  3. Custom Cursors and Filmloops
    By pulpman webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 0
    Last Post: October 30th, 04:40 PM
  4. cursors problem
    By sylmy webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: October 22nd, 07:05 PM
  5. Are Cursors in Triggers really bad?
    By George Wynne in forum Microsoft SQL / MS SQL Server
    Replies: 6
    Last Post: July 1st, 03:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139