Get a Weak or Strong DataTable Row from a selected DataGridView row. Private Sub btnGetDataGridViewSelectedR... sender As System.Object, ByVal e As System.EventArgs) Handles btnGetDataGridViewSelectedR... '--------------------------... 'Find the first selected row (should only be zero or one since DataGridView1.SelectionMode = FullRowSelect) '--------------------------... ......
DataGridView CSV Editor · Load CSV File into Dataset -> DataGridView · Show cells with Validation Errors with backcolor & tooltip · Right-Click cell to correct cell via tooltip · Restrict KeyPress Keys · Show cell as “edited” via cell backcolor Public Function GetCSVDataTable(ByVal filePath As String) As DataTable ' The dataset to return Dim dt As DataTable = Nothing Try '--------------------------... ' Create "Excel Like" Column Headers '--------------------------... ......