Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataSet, DataTable, DataView
Message
De
31/07/2004 11:14:27
 
 
À
30/07/2004 23:35:38
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00928619
Message ID:
00929874
Vues:
19
Mike,

You have a couple of choices.

1) Pass the current row to your modal form instead of the whole DataView.

2) Pass the grid's binding manager to your form as well as the DataView (which almost amounts to the same thing as simply passing the .CurrentRowIndex from the grid).

HTH,
~~Bonnie



>Hi Bonnie,
>
>Thanks for the help. It gave me enough info to bind the dataview into the controls of the modal form. Nevertheless I still have this problem when I try to click the edit button of the Main Form.
>
>The data being displayed in the modal from is always the first record of the dataview even if my cursor is pointed on the second record in the datagrid of my main form.
>
>How can I position the pointer to the specified record so that it will display the correct data in the modal form?
>
>Thanks again...
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform