QuickBooksDev 0 Light Poster

I am using a DataGridView in VB.NET 2005

I will like to be able to edit the data entered by a user into the cells.

I put in a Validating procedure but when I check the contents of the cell it is Nothing.

Row = e.RowIndex : Col = e.ColumnIndex
Data = grdHSBC.Item(Col, Row).Value

Data and grdHSBC.Item(Col, Row).Value are Nothing when the procedure gets control.

I do not understand this type of behavior and was hoping that someone could explain and also how do you check the validity of data if the cell returns Nothing???

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.