0
Answer

DataGrid for dummies please

srussell

srussell

20y
2.1k
1
I'm doing my first WIN app and having a hard time with the datagrid. .NET ver is 1.1 I have SQL Server data bound to a dg that I see in my form when I run it. This grid is on a pageframe page1. When a user dblClicks anywhere visible in the grid : 1) I want to grab the key from the ds knowing the row#. 2) select edit data for another ds table and present that in Page2. 3) Go to page2 control of my choice (maybe a command button???) I can's seem to get to a dblClick. What do I need to change in my esisting code below?. private void mmDataGrid1_DoubleClick(object sender, System.Windows.Forms.NavigateEventArgs ne) { int rowIndex = mmDataGrid1.CurrentRowIndex; object PKey = mmDataGrid1.GetCurrentRowPK(); TIA
Next Recommended Forum