473,387 Members | 1,553 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,387 software developers and data experts.

How to save information from a TableLayoutPanel for use later in my program?

Visual Studio 2008

I have a TableLayoutPanel (tlp01) with multiple rows (10) and columns(12), each with editable text boxes(r1c1, r1c2, r1c3, etc...) so that the end user may change the numbers supplied with different ones if he or she wishes. I've set it up in such a way that in order to show the appropriate TableLayoutPanel (tlp01,tlp02, or tlp03), the user must first select options from two drop-down menus, which when selected, will show the appropriate panel.

My problem arises when, after selecting the correct TableLayoutPanel (and making changes if necessary), the user must then save the information from the TableLayoutPanel (and all the values contained therein) for use later and be able to draw upon it then. Many, many attempts to save the information have failed. Any thoughts on how I can accomplish this?

Ideally, when a number is calculated (later in the program), that number will correspond with a specific number in the TableLayoutPanel. That number, in turn, will correspond with a row and a column. Each row and column has a specific header (a text label I have set up). Displaying that header text label is ultimately what I'm after.
Sep 15 '10 #1
1 1891
Have you tried putting all your table information into an array and saving it to a textfile. You can then read/write to the text file whenever you want.
Oct 15 '10 #2

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

Similar topics

3
by: Atley | last post by:
Is there any way to transfer information (User Name, ID) from a program that logs users into a system to other programs?
5
by: kiarash | last post by:
In a called function,I want to save the "program counter" , when program reached to a specified location ,& then return from the function . In the next calling of this function , I want to restore...
0
by: Akinyemi | last post by:
I am a newbie in programing. My Tax Project is nearing completion. I have started to think about deployment. But I dont know how to make the user create a file to save his work when he runs the...
3
by: afshana | last post by:
#include <stdio.h> #include <dos.h> #include <conio.h> /*****************************************/ /*This function read parallel port inputs*/ /*****************************************/ hi, ...
2
by: haringmunti | last post by:
Hi, I already know how to connect vb.net with access 07. i just have to connect database. the problem is that i want to see the input in vb.net there when it is done. ive done it several times...
6
by: globalrev | last post by:
i extract info from one file and put it into a dictionary. i want to save that dictionary for later use, how do i do that? might save a list of dictionaries or a list of classobjects too if there...
2
by: hypermonkey2 | last post by:
Hi there! I am using the "shelve" module in a script to save information in between runtime sessions of the program. (its a sort of data collector, so its important to hold on to anything computed...
0
by: Edwin.Madari | last post by:
since choice of dbm used by shelve http://docs.python.org/lib/node327.html depends on os, and whats available on it, shevle files saved on one os, most likely do not work on another os, sometimes on...
1
by: slenish | last post by:
Hello everyone that is reading this, What I want to do is have my form be able to save the information you type in to 2 seperate tables. I have one table we can call the MasterTable that will save...
6
by: slenish | last post by:
Hi all, I have asked this question a couple of times but I keep getting no answer so I thought I would give it one more go. I have 3 combo boxes on a form. Each of these combo boxes pulls...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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?
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...
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,...

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.