I have searched Google for an answer but have had NO luck finding an answer to this question.
I would like to update a DataGrid which is databound to a database....I have a page that creates a new Invoice..and the user can add items to the invoice ,,so when the user adds a item I create a list<Item> the Item has properties like name, description, price, quantity etc. etc. I add the item to the list everytime the user clicks the add item button....I would like to update the datagrid with each new item added...I could add the item to the database then update the page but if the user decides to cancel the invoice then I would have to delete the items added..I think it would be easier to keep it this way...but not sure if I can update the gridview because it is databound......?
-InkedGFX
I would like to update a DataGrid which is databound to a database....I have a page that creates a new Invoice..and the user can add items to the invoice ,,so when the user adds a item I create a list<Item> the Item has properties like name, description, price, quantity etc. etc. I add the item to the list everytime the user clicks the add item button....I would like to update the datagrid with each new item added...I could add the item to the database then update the page but if the user decides to cancel the invoice then I would have to delete the items added..I think it would be easier to keep it this way...but not sure if I can update the gridview because it is databound......?
-InkedGFX