Help with basic of retrieving data...

ustary

New member
Joined
May 10, 2009
Messages
1
Programming Experience
Beginner
Hi, i'm really a beginner at this, only 3 weeks os programming... any help would be apreciated...

i'm using visual studio 2008 express edtion, an 3.5 compact sql server

i have a app with a database, called database1, with a table called table1, with 2 columns, firstname and lastname

i already have a dataset and all, and can alredey acces the data through my form btw

i have 1 textbox, 1 button and 2 labels

the user puts the firstname on the textbox, and then, when the button is pressed the label1 text is the correspondent lastname, and the label2 text is the row of the table in wich that name is.

can someone please tell me how to do this?
 
Back
Top