deear friends am working on a POS project and am stack at an error about Is operator : Severity	Code	Description	Project	File	Line	Suppression State
Error	BC30020	'Is' operator does not accept operands of type 'Integer'. Operands must be reference or nullable types.	POS	C:\Users\pc\Desktop\POS\POS\GUI\MainWindow.vb	134	Active
 now the message above is the error is get. when i change the "Is" to "=" the DGV
gets an error but when i change it to "IS" the R.Barcode gets an error


Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        'get the details of the item
        Dim R As POS.POSDS.ItemsRow = CType(Button1.Tag, POSDS.ItemsRow)

        'next search for the barcode in the DGV

        Dim I As Integer
        Dim ItemLoc As Integer = -1
        For I = 0 To DGV2.Rows.Count - 1
            If **R.Barcode Is DGV2.Rows**(I).Cells(0).Value Then

                ItemLoc = I
                Exit For
            End If
        Next
    End Sub