DataGrid and Dataset

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    DataGrid and Dataset

    Hi

    I have a datagrid1 binded with a dataset1 and I would like when I click at
    any row it would show me the Value of the first Column for the clicked row in
    the grid in a textbox could U show me how!!?


    Thanks
    --
    Regads,
    Rochdi
  • Usarian Skiff

    #2
    Re: DataGrid and Dataset

    Hey there

    DataGrid1.Item( DataGrid1.Curre ntRowIndex, 0)



    That will return the value of the first column that the selected row.



    "John" <John@discussio ns.microsoft.co m> wrote in message
    news:999C1580-7789-4F1C-81A6-68873EAA1A83@mi crosoft.com...[color=blue]
    > Hi
    >
    > I have a datagrid1 binded with a dataset1 and I would like when I click at
    > any row it would show me the Value of the first Column for the clicked row[/color]
    in[color=blue]
    > the grid in a textbox could U show me how!!?
    >
    >
    > Thanks
    > --
    > Regads,
    > Rochdi[/color]


    Comment

    Working...