Re: How to fill dataset with just one row at a time?
From: Eric Marvets (ericm_at_bangproject.com)
Date: 05/22/04
- Next message: Eric Marvets: "Re: Display Algebra equations"
- Previous message: Gina L. Hernandez: "CRYSTAL DECISION"
- In reply to: IMRAN SAROIA: "How to fill dataset with just one row at a time?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 21 May 2004 21:37:38 -0400
If you use a stored proc or a parameterized query, you could pass in a
parameter to the SelectCommand.
If you do not know the primary keys in which to query for a single item at a
time, you can use a query like 'select top 1 .....where ID >
@lastIDRetrieved order by ID' using 0 as your starting value for
@lastIDRetreived.
-- Eric Marvets Principal Consultant the bang project <shameless self promotion> Email sales@bangproject.com for Information on Our Architecture and Mentoring Services </shameless self promotion> "IMRAN SAROIA" <imransaroia2000@hotmail.com> wrote in message news:evvl$XnPEHA.3012@TK2MSFTNGP09.phx.gbl... > Hi! > > I want to select specific row from Database in Select > Query. Can any one adivse? > > E.g., in selection criteria I want to mention row to retrieve. > Are there any alternatives. I donot want to use postion property. > I want to fill Dataset with just one row at a time. > > Please adivse! > > Regards > > Imran > >
- Next message: Eric Marvets: "Re: Display Algebra equations"
- Previous message: Gina L. Hernandez: "CRYSTAL DECISION"
- In reply to: IMRAN SAROIA: "How to fill dataset with just one row at a time?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|