I am getting a bad row index in the following code.
iProductRows = 1
fProducts = Open products.dat For Input
While Not Eof(fProducts)
gvProducts.Rows.Count = iProductRows
Line Input #fProducts, sName
Line Input #fProducts, iLargePrice
Line Input #fProducts,
Keith Clark wrote:
I am getting a bad row index in the following code.
iProductRows = 1
fProducts = Open products.dat For Input
While Not Eof(fProducts)
gvProducts.Rows.Count = iProductRows
Line Input #fProducts, sName
Line Input #fProducts, iLargePrice