Formview itemupdating newvalues empty
I make some changes, click Update, and Item Updating gets called. It would be nice if there were an error event or exception somewhere to look at but I don't see anything like this.
We have already see that we can get results from one control at a time with the findcontrol method, but this is what we were already doibng with conventional pages, not using the formview, and it is highly complicated as each type of control has to be handled a different way (for text boxes, .checked for check boxes, .selected Value for combos and many others).Our problem is to get the changed values back from the formview and I see nothing in your suggestions tto help us.To jacko72: thank you for this suggestion but it does not really help.The Form View is binding to the datatable fine and showing the data, but we cannot find how to get the data back after updating so that we can save it back to the datatable. The aspx markup looks like this (showing edit template only - item and insert are similar): The VB code looks like this : Protected Sub Page_Load(By Val sender As Object, By Val e As System. Passing values to the formview is not the problem - our datatable is binding well (as my original request said) and the formview is showing the data. Edit Dim dt Edit Data As New Data Table dt Edit Data = CType(Http Context. Item Updating ' need code here to get data from fmv Email and save it as dt New Data ' tried to access e. ' Tried: Dim row View As Data Row View = CType(fmv Email.