help im a beginner... datagrid

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

    #1

    help im a beginner... datagrid

    hi guys...

    im new to vb.net programming

    just want to ask what property should i use to get the current row of
    a datagrid and pass it into a textbox control.

    It goes this way

    i have a datagrid

    AccountCode AccountDescript ion
    AAA-10001 Sales
    AAA-10002 Retails
    AAA-10003 Purchases

    then i have a select button. when i click the select button it should
    pass the value inside a textbox from another form.

    Help pls. I really appreciate it guys.

    Joel
    -newbie-

  • PvdG42

    #2
    Re: help im a beginner... datagrid

    "joel" <concept_dba@ho tmail.comwrote in message
    news:1187231912 .786670.105810@ d55g2000hsg.goo glegroups.com.. .
    hi guys...
    >
    im new to vb.net programming
    >
    just want to ask what property should i use to get the current row of
    a datagrid and pass it into a textbox control.
    >
    It goes this way
    >
    i have a datagrid
    >
    AccountCode AccountDescript ion
    AAA-10001 Sales
    AAA-10002 Retails
    AAA-10003 Purchases
    >
    then i have a select button. when i click the select button it should
    pass the value inside a textbox from another form.
    >
    Help pls. I really appreciate it guys.
    >
    Joel
    -newbie-
    >
    Have a look here:

    http://msdn2.microsoft.com/en-us/lib...d_members.aspx

    Note the CurrentCell property, accessible at runtime via code.

    Comment

    Working...