Database cursors in .NET 2003

Ask a Question related to ASP.NET General, Design and Development.

  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. Similar Questions and Discussions

    1. Cursors
      How do I set the cursor to a pointing finger? I notice that the documentation specifies certain cursors - i.e.' cursor 4' changes it to an hour...
    2. posible BUG in CURSORS...
      Hello, The lingo function CURSOR sometimes it's out of order... Exist an solution for it? Thanks, Gabriel
    3. Custom Cursors disappear on OS X
      Hi, Has anyone else had this problem and know if anything can be done to solve it? The cursor flickers over movie sprites on the other OS's but on...
    4. cursors problem
      I use Director MX on Windows 2000, and I created a custom cursor which I attached to a sprite with the rollover cursor behavior from the library. ...
    5. Are Cursors in Triggers really bad?
      I'm using SQL Server 7. I've got two versions of an trigger that just keeps an audit record of when a table was updated. One uses a cursor, and...
  3. #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.philp@chello.se> wrote in message
    news:0c9701c35cd7$02d1e520$a301280a@phx.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

  4. #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.philp@chello.se> wrote in message
    >news:0c9701c35cd7$02d1e520$a301280a@phx.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

  5. #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.philp@chello.se> wrote in message
    news:0c9701c35cd7$02d1e520$a301280a@phx.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

Posting Permissions

  • You may not post new threads
  • You may 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