Datagridview Binding Source The Error Comes Up "Index Out Of Range"?Feb 12, 2012
I am developing a windows application. i have a datagridview whose datasource is a binding source. Also I have this filter applied to the binding source
Dim txt As String = txt_itemcd.Text
If String.IsNullOrEmpty(txt) Then
i want when user clicks on any cell of the datagridview, the data in that row should be filled in the respective text boxes. how is that???Actually I had this code
Private Sub dg_item_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dg_item.CellClick
but since when i hv applied binding source, the error comes up "Index out of range"