Results 1 to 3 of 3

Thread: accesing datagrid cells

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2004
    Posts
    70

    Resolved accesing datagrid cells

    Hi I got all this data in a datagrid. How can I get the data from lets say, the third row and firstcolumn.

    The column contains a textbox and it's called DataGridTextBoxColumn1.

    When I do DataGridTextBoxColumn1.TextBox.Text I get the value of the column for the first row. How can I access the same for other rows?

    thanks in advance
    Last edited by nacho2; Dec 1st, 2004 at 07:20 AM.

  2. #2
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Re: accesing datagrid cells

    Originally posted by nacho2
    Hi I got all this data in a datagrid. How can I get the data from lets say, the third row and firstcolumn.
    me.textbox1.text = Me.DataGrid1.Item(3, 1).ToString()

    Regards
    Jorge
    "The dark side clouds everything. Impossible to see the future is."

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2004
    Posts
    70

    Resolved

    Great, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width