abu taher 34 Practically a Posting Shark

a msflexgrid show my data. I write code in msflexgrid_click():

txt1.Text = MSFlexGrid1.TextMatrix(MSFlexGrid1.RowSel, 0)
txt2.Text = MSFlexGrid1.TextMatrix(MSFlexGrid1.RowSel, 1)

for show data in textbox. but one error msg show:
"run time error 381
subscript out of range"
what I do now?

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.