Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending DataGrid Row/Col Data to Textboxes 1

Status
Not open for further replies.

RoguePoet01

Programmer
Oct 1, 2003
302
US
Hi,

I can't seem to find how to reference and send a row of data to a form's textboxes in winform mode.

With a flexgrid it used to be something like:

With form
.textbox(1) = .flexgrid.TextMatrix(.flexgrid.Row, 1)
.textbox(2) = .flexgrid.TextMatrix(.flexgrid.Row, 2)
.textbox(3) = .flexgrid.TextMatrix(.flexgrid.Row, 3)
End With

Would appreciate some help.

Thanks.
 
I can have you reference each cell in the row and send it to a specific text box.
something like this

txtBox.value = DataGrid1.Item(DataGrid1.CurrentRowIndex,0)
i hope that helps
the Zero represent the first column in the grid


Cheers,
Fritts
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top