Sqldatasource updating event
Hello, i'm having the exact similar situation as this older thread, but was unable to follow the step provided to resolve.
Can anyone shed light on what's actually needed to have the event fired so i can take the action of providing a message to display " No record found"
This tutorial explores how to have the master page invoke functionality defined in the content page.
Invoking content page functionality from a master page is more challenging than the other way around.
Maybe you named it different Customers Sql Data Source.
For example if you have Sql Data Source1 as your Grid View data source, your Row_Deleting event would be: The solution is somewhat simple; once you have deleted the row from the datagrid (Your code ONLY removes the row from the grid and NOT the datasource) then you do not need to do anything else. Its hard to get selected row and data key in Row Deleting Event But it is very easy to get selected row and datakeys in Selected Index Changed event.
Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
NET Web Forms lets you build dynamic websites using a familiar drag-and-drop, event-driven model.
Plesase try the code below: Here is page code: code behind: protected void Sql VHT_RPTDS_Selected(object sender, Sql Data Source Status Event Args e) what's interesting though is that i do see the event get fired once if and when i set the Datasource control's Cancel Select On Null Parameter property to false."The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years.I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.What you need to do is delete the row from the table that Customers Sql Data Source querying.