473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to place data from Data grid to textboxes in VB 6.0

Hi! please help me with the above question :)

I want to place the data from the row of a data grid to different text boxes whenever i choose/select a row.

The Textboxes and Datagrid are from different forms. when the command button "edit" is clicked the form that has he textboxes will appear and there should be some data in it (from the data grid)

What should i do because i want to edit selected data. This is for my enrollment system.

Thanks a million! :D
Aug 10 '11 #1
1 3323
Guido Geurs
767 Expert 512MB
Do you have the code of the second program(with textbox)?

If so:
- put the data from the grid in a temporary file.
- open the second program.
- read at startup the temporary file into the textbox.

If not:
- open the second program
- send the data with "Sendkeys" to the textbox.

If you want to go deeper into the problem, please give me more info.
Aug 11 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Paul | last post by:
I am using a dataset to populate a data grid, then have some code that modifies the data in the grid and want to write it back out to a dataset, just wondering if this is possible and what method...
1
by: Anthony | last post by:
I am defining the datagridtable style for a grid .... Dim coursekeycol As New DataGridTextBoxColumn coursekeycol.MappingName = COURSEKEYCOLNAME coursekeycol.HeaderText = "" coursekeycol.Width...
2
by: Shane | last post by:
I made a Database in MS Access, and i want to try to port it over to VB.NET. One thing i have is a subform that is a datasheet. what I want to know, is there away to make the data grid to have...
5
by: tomcarr1 | last post by:
I have an ASP.net webform with a datagrid on it. I can change the SQL select statement for the grid in code by putting a statement like this in the first line of Page_Load...
4
by: iKiLL | last post by:
Hi all I am currently using a Bound Read Only data grid. What I am looking to do is have different colour rows depending on the data in the row. EG. If the status = Closed then that row...
0
by: manbassie | last post by:
I have xml web service which returns a dataset. I have textboxes which need to be populated with this data and my problem is how to bind the data to the textboxes when the form loads and be able to...
6
by: Steve Ryan | last post by:
can anyone send me to some good examples of edit in place for data frid columns i see dot net let me assign a control in the IDE any good sources of reading on editing columns with controls...
2
by: Amit | last post by:
Hello Gurus, I am entering data through data grid , what i want is that once user enter the data in the grid and click on button graph should come on the basis of data values are like X ...
3
by: makis | last post by:
hello, How can i send data from grid component to messagebox? which code or process we need?
0
blossam
by: blossam | last post by:
hi friends, i want to add data in grid at runtime means when i click enter or tab i want a new row in grid so i can add value in that i know how to do this in windows application but i want to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.