form is created which contains textboxes , labels , datacombos and it uses 4 tables from the database
there is one datacombo which displays names of menuitems contained in menuitem table.when one of the element in datacombo is selected then its corresponding menuitemcode from menuitem table is displayed in the textbox on the form.till this much it is working........
i have added a datagrid which is not connected to any table. i want to add the selected datacombo element and its corresponding menuitemcode displayed in the textbox in this grid when i click on the commandbutton .this is not working.......
runtime error 7005 ------ rowset not available.
on the commandbutton click event i wrote the following code---
datagrid1.colum ns("menuitem"). text=datacombo1 .text
datagrid1.colum ns("menuitemcod e").text=txtmnu cd.text
once this datagrid is populated then i want to save this in one of the table...
there is one datacombo which displays names of menuitems contained in menuitem table.when one of the element in datacombo is selected then its corresponding menuitemcode from menuitem table is displayed in the textbox on the form.till this much it is working........
i have added a datagrid which is not connected to any table. i want to add the selected datacombo element and its corresponding menuitemcode displayed in the textbox in this grid when i click on the commandbutton .this is not working.......
runtime error 7005 ------ rowset not available.
on the commandbutton click event i wrote the following code---
datagrid1.colum ns("menuitem"). text=datacombo1 .text
datagrid1.colum ns("menuitemcod e").text=txtmnu cd.text
once this datagrid is populated then i want to save this in one of the table...
Comment