Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataSet, DataTable, DataView
Message
From
31/07/2004 11:14:27
 
 
To
30/07/2004 23:35:38
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00928619
Message ID:
00929874
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform