leongks
June 3rd, 2003, 02:44 AM
hi. i need some help.. pls.. pls.. very urgent
i hav bind the datasets to my datagrid. but now i wan the datagrid allow user to select n double click on the data row then the selected data wil b displayed on another form.
i've use the CurrentCellChanged to get the value of the row.
OleDbDataAdapter2.SelectCommand.Parameters("employee_id" ).Value = EmployeeDataGrid.Item(EmployeeDataGrid.CurrentCell)
but now i can;t display the selected data in the new form.. all text boxes r blank. how i pass the selected data to another form?
any help is appreciate. thanks.
i hav bind the datasets to my datagrid. but now i wan the datagrid allow user to select n double click on the data row then the selected data wil b displayed on another form.
i've use the CurrentCellChanged to get the value of the row.
OleDbDataAdapter2.SelectCommand.Parameters("employee_id" ).Value = EmployeeDataGrid.Item(EmployeeDataGrid.CurrentCell)
but now i can;t display the selected data in the new form.. all text boxes r blank. how i pass the selected data to another form?
any help is appreciate. thanks.