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 ?
Loading
Iftikar HussainPosted Aug 7, 2013, 2:29 AM
Regards,
Iftikar
Nandhini JayachandranPosted Aug 7, 2013, 2:04 AM
Iftikar HussainPosted Aug 7, 2013, 1:53 AM
Regards,
Iftikar
Nandhini JayachandranPosted Aug 7, 2013, 1:47 AM
Iftikar HussainPosted Aug 7, 2013, 12:16 AM
Try like this
In Form 1
----------
Declare one TextBox and one Button. On Button click, write the below code
In Form 2
----------
Declare 3 TextBox and write the below method
Regards,
Iftikar