help im a beginner... datagrid

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-
 
P

PvdG42

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top