none
Index out of range RRS feed

  • Question

  • setFont(txtPKName, Trim(Main.gridview1.Item(2, 0).Value), Main.gridview1.Item(3, 0).Value, Main.gridview1.Item(4, 0).Value)

     

    why index out of range ?

    Friday, December 31, 2010 1:35 AM

Answers

All replies

  • Can you post the entire code of that function?
    Goldfish64 - Please remember to mark any replies as answers if they help and unmark them if they provide no help.
    Friday, December 31, 2010 1:57 AM

  • Assuming that gridview1 is a DataGridView, how many columns does it have?  You are requesting the third, fourth and fifth columns of the first row.

    --
    Mike
    Friday, December 31, 2010 2:10 AM
  • i have solved thank.
    • Marked as answer by cno_kh Friday, December 31, 2010 6:24 AM
    Friday, December 31, 2010 6:23 AM