473,466 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

Aug 16 '07 #1
1 985
"joel" <co*********@hotmail.comwrote in message
news:11**********************@d55g2000hsg.googlegr oups.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 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/lib...d_members.aspx

Note the CurrentCell property, accessible at runtime via code.

Aug 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Judi Keplar | last post by:
I am currently taking a course to learn Python and was looking for some help. I need to write a Python statement to print a comma- separated repetition of the word, "Spam", written 511 times...
0
by: Alexia | last post by:
Hi, I wanted to know how i can add column headings to a datagrid. I have tried to add the datagridtable style but i am not creating any datatables to set it to. Do i have too? can i create a...
8
by: Grrrbau | last post by:
I'm a beginner. I'm looking for a good C++ book. Someone told me about Lafore's "Object-Oriented Programming in C++". What do you think? Grrrbau
16
by: ranger | last post by:
Hi, I'm a beginner with C++, studying on my own from a book and I've encoutered quite some problems.. If possible, someone out there might help me out.. The problem is the following.. I've...
0
by: Radovan Radic | last post by:
Hello, Is there some article or tip about implementing Footers in Windows.Forms.DataGrid control? I have found one example for adding footers to DataGrid, but it is only adding one row at the...
10
by: Joe | last post by:
Hi, Tried using the FindControl() but no luck in finidng this damn textbox having id txtFirstName. Can someone help me with this method? This is what I have been doing but it doesn't work, ...
1
by: Tarren | last post by:
Hi: I am new to using datagrids in winforms. How do I modify the parameters of the individual columns in the datagrids. I do not see anything akin to a Columns collection in the datagrid...
6
by: André | last post by:
Hi, I made a webform for a survey, with multiple-choice questions. The results of each question is put into a table e.g.: values frequency 1 6 2 3 3 32 4 ...
2
by: =?Utf-8?B?UGF1bA==?= | last post by:
Just wondering if anyone knows if this is possible with a gridview but I have a template column with two dropdown list boxes in it and when the user makes a selection in the first box I want to run...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.