Newbee question, how to navigate between records.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

I am realy new to this .NET ADO.

Basicly i have a webform with fields that displays data, what i want to do
is add two buttons next and previous, the names are obviously telling what
the action should be :D

What command should i issue and on what component to move to the next record?

Also, what to send to update a record that has been edited.

I am using C# and VStudio 2003, and the app is for the web, not an
win.application

Regards

Martin Arvidsson
 
Normally, you can use the Position property of your BindingContext but this
won't advance the records in a webform AFAIK because you need to have a
postback. YOu can cache the object (datatable, dataset) for instance, or
use a dataview and cache it. Use the .Rowfilter to specify just the row you
want to show and on post back just set the values.

--
W.G. Ryan MVP Windows - Embedded

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/community/newsgroups
 
Hi!

Is there any examples anywhere?, Since i am so totaly new to this...

Regards

Martin Arvidssin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top