Can anyone tell me how to determine the last event raised. E.g. If data has just been inserted using SqlDataSource1 I want to display some text in Page_Load. Something like if (SqlDataSource1_inserted == true) print message. Thanks Majella
Can anyone tell me how to determine the last event raised. E.g. If data has just been inserted using SqlDataSource1 I want to display some text in Page_Load. Something like if (SqlDataSource1_inserted == true) print message. Thanks Majella
You can set the Trace="true" in the Page directive to see the order of the Page's event. Here you want to display something after the SqlDataSource inserts a new row, so you should use the events after the insert command like PreRender.