Hi
I have parent form having 3 text boxes (Item Code,name,stock) and Find Button . I want when user clicks on Find Button another window should display all items in the Gridview and which item is selected by the user , it should display the data of the item in the 3 Text Boxes which are on the first form.
Thanks
Loading
Jagjit SainiPosted Aug 24, 2011, 1:11 AM
I want when user clicks on button Find another window should open which which display data in the Gridview with the following query(Select itemcode,name,stock) . When user selects any row in the Gridview that data should get displayed in Text Boxes.
Thanks
Jiteendra SampathiraoPosted Aug 24, 2011, 1:06 AM
if you want find these values from database..write select query like this
select Item Code,name,stock from you_tablename
where Item Code=textbox1.text, name=textbox2.text,stock=textbox3.text;
I hope you know how to show the values in Gridview...
hope it help you......