Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the current row in a mmDataGridView?
Message
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01152160
Message ID:
01152177
Views:
14
>Why is it the code below always gets the topmost row?
>
>OrderDetailForm oForm = new OrderDetailForm();
>oForm.orderID = this.oOrder.Entity.OrderID;
>oForm.ShowDialog();
>
>I noticed that though I moved the row in the datagridview in different row, it returns the same row. Am I missing something here?

Hiya Jess!

You can make use of the this.NavControl. Put the code below after the constructor method of the form:
InitializeComponent();
this.NavControl = this.grdOrders;
HTH
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform