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

J

Juan

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.
 
G

Guest

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/)
 
J

jwennstrom

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/)
 

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

Top