I have a DataGrid Control on one of my Forms, its populated via an SQLite database which works great. Now when a user double clicks on one of the rows, i want to open another form that shows details about the row the user doubleclicked on, i have a primary key (field name is 'id') in my database table, so if i could just pass along the ID of the row along to the new form then i can use that to query the database in the new form to do what i need there.
Question
MichaelEaton
I'm just going to explain what i want to do.
I have a DataGrid Control on one of my Forms, its populated via an SQLite database which works great. Now when a user double clicks on one of the rows, i want to open another form that shows details about the row the user doubleclicked on, i have a primary key (field name is 'id') in my database table, so if i could just pass along the ID of the row along to the new form then i can use that to query the database in the new form to do what i need there.
Any help would be great.
Thanks!
Michael
Link to comment
Share on other sites
2 answers to this question
Recommended Posts