468,133 Members | 1,311 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,133 developers. It's quick & easy.

pls help: how can i select a just inserted row in a datagrid (using a dataset as datasource)?

Do i have to loop trough a datagrid in order to find and select a row just
being inserted in the dataset connected to the data grid? is there any event
i can capture in the datagrid to obtain the inserted row? I need to obtain
its position in the datagrid...

Any help is really welcome.
Nov 16 '05 #1
2 1021
You just want to know when a row is created (so you can selectit)? Is this for the Web control or the Windows control? Forthe Web control, you should be able to use the ItemCreated eventto catch the insertion of a row - it fires at data bind andduring round trips.
Do i have to loop trough a datagrid in order to find and selecta row just
being inserted in the dataset connected to the data grid? isthere any event
i can capture in the datagrid to obtain the inserted row? Ineed to obtain
its position in the datagrid...

Any help is really welcome.

User submitted from AEWNET (http://www.aewnet.com/)
Nov 16 '05 #2
You just want to know when a row is created (so you can selectit)? Is this for the Web control or the Windows control? Forthe Web control, you should be able to use the ItemCreated eventto catch the insertion of a row - it fires at data bind andduring round trips.
Do i have to loop trough a datagrid in order to find and selecta row just
being inserted in the dataset connected to the data grid? isthere any event
i can capture in the datagrid to obtain the inserted row? Ineed to obtain
its position in the datagrid...

Any help is really welcome.

User submitted from AEWNET (http://www.aewnet.com/)
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by jm | last post: by
2 posts views Thread by Daniel | last post: by
4 posts views Thread by momo | last post: by
4 posts views Thread by steroche | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.