Detailsview detailsview1 fired event itemupdating which wasn t handled dating for handicappede
I don't think I'm interested in a programatic update of just the selected row -- a refresh of all the data is fine with me. Delete and insert work but update does not Using VS 2005 Details View to insert, delete, and update rows in SQL 2005 database. I recieve no errors and the details View comes back unchanged (as well as table row is unchanged).I am trying to use as little code behind as possible.I have a problem which can be solved two different ways.I have a Grid View that you can select a row and it will show the details in the Details View.Displaying the information works fine (after catching on to the filter changes in beta 2). Data List with Nested Editable/Deletable Gridviews. But the edit/delete events will not trigger the Data List to rebind its contents..I'm simply trying to figure out how to refresh the data in the gridview after update/insert/delete events in the detailsview. so on Edit/on Delete in the gridviews I say "Data List. VS2005 - using detailsview to update, insert and delete rows from SQL 2005 database.The other way to resolve the issue is to better understand how to add this functionality without going through the SQLData Source (which I hate to do).
The database resides on this machine, but the page I am working on resides elsewhere.Just for clarity, I did drag/drop the SQLData Source, but it would not allow me to connect it to the database, even if I manually put in the connection string or tried to navigate the controls (could not see the SQL Server).It's fixed now so I can only assume that whatever it was, was overwritten during the installation of the other version.I have been through the Bob Tabor videos and even following his examples..just does not do anything.I have sat with his video (I think it's lesson 8...
I have seen an abundance of posts regarding this but I'm starting a new thread.