select data from database and display it in textbox
my database i like this
no name age
1 n1 32
2 n2 45
3 n3 56
i will give a no and that particular row will be displayed in textboxes
eg
if the no is 1
in textbox1 =1
textbox2=n1
textbox3=32
i am having 2 windows form .the query will be given in one form and data to be displayed in textbox is done in another form .i want to know how to parse query from one form to another
and how to display data in textboxes ?