how to use seek with a SqlCeResultset

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

I have a SqlCeResultset that I want to use seek on. The result set is based
on a multitable query. The code below doesnt work. Whats wrong? Can i use
seek with a multitable query?and the settings below?

cmd.IndexName = strNDX;

cmd.CommandType = CommandType.Text;
 
IndexName sets the name of the index to use in a query, it's not record
index.

If your result set is scrollable, you should use SqlCeResultSet.Seek() or
SqlCeResultSet.ReadAbsolute() to seek to a record.


Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Back
Top