Last post Mar 10, 2011 09:57 AM by WombatEd
Mar 10, 2011 02:17 AM|Nasri87|LINK
Hi all, I created a form view that included a drop down list insert. This form view i bind with TableA.
For this drop down list (categoryId), i use datatextfield to get data. Howver, i create another textbox that allow user to create their own category.
This tableB included (category Id, category Name).
How can i bind with TableA after user click button to insert their data?
Mean that insert into both tables and drop down list will bind with new data.
Mar 10, 2011 09:57 AM|WombatEd|LINK
I think you want to create an FormView.ItemCommand handler that checks the TextBox and does a separate insert. It would also need to re-bind your DropDownList.
Check out this MSDN article: