🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.vbasic
1 messages
1 total messages Started by Jacek Wed, 09 Mar 2011 19:03
VBNET i datagridview
#104797
Author: Jacek
Date: Wed, 09 Mar 2011 19:03
20 lines
1412 bytes
Witam, 
Panowie jak przesuwać kursor w datagridzie po dodaniu nowego rekordu ?

najpierw zbudowałem sobie kursor
dt.fill(ds,"tab")

ustawiłem 
datagridview
dg.datasource = ds
dg.datamember = "tab"

(nie ma databindings)

mam np 3 rekordy - kursor stoi na pierwszym (na dg), dodajÄ…c nowy rekord do 
datasetu tworzy siÄ™ 4 rekord ale "kursor" stoi nadal na 1-szym. 
Jak go przepchnąć programowo na 4-ty ?
PozdrĂłwka.

-- 
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads