help im a beginner... datagrid

  • Thread starter Thread starter joel
  • Start date Start date
J

joel

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 AccountDescription
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-
 
joel said:
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 AccountDescription
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/library/system.windows.forms.datagrid_members.aspx

Note the CurrentCell property, accessible at runtime via code.
 
Back
Top