Hello,
I have a Visual Studio 2005 C# PPC program and I have some data I want to use on multiple forms.
I have to forms Form1 and Form2,
Form1 has a textbox and a button
Form2 has a textbox
Both these Forms are connected to the same database (db1)
When I fill the textbox (Form1) with a number and press the button I want to display form2 and the textbox on form 2 should display the Name that belongs with the number.
for instance:
database:
number name
1 a
2 b
3 c
4 d
5 e
etc.
when i then fill in on Form1 in a textbox number 3. On Form2 the textbox should display c.
The only thing displayed on Form1 is a textbox (to fill in the number) and a button (to check number and go to Form2 if it is a good number). Is this possible without a Datagrid on the Form
Hope my explanation is ok and hope someone can help
Korsten