Gridview rowupdating get key
Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.
Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free.
Also the rows in the datagridview is set to select the entire row not just a cell if that makes a difference Private Sub Data Grid View1_Cell Click(By Val sender As Object, By Val e As System. Cell Click Dim i, j As Integer i=Index j=e.column Index Text Box1. will more comfortable Private Sub Data Grid View1_Cell Click(By Val sender As Object, By Val e As System. Cell Click Dim i, j As Integer i=Index j=e.column Index Text Box1. I use the unique primary key in the datagridview as not visible so once the row is selected, i can get that integer and populate the textbox by using another database query. You'll be able to ask questions about coding or chat with the community and help others.Im trying to display data in a datagrid then once a row is selected show a different column of the database in a text box. Data Grid View Cell Event Args) Handles Data Grid View1. The Grid View 'Grid View1' fired event Page Index Changing which wasn't handled.The Grid View 'Grid View1' fired event Sorting which wasn't handled.