Asp net objectdatasource updating event

Page Zee, Your approach is only good for learning phase. I am using Object Data Source with Business Class/Object Class.This Object Data Source is being used as Data Source for the Grid View.I am fetching data (string) from the databse which looks like "a,b,c,d,e,f,g,h".I wanted object Data Source to use this object only during my update process. During the debugging I came to know that everytime query is executing the Object_Create event is getting triggered. event to examine the values of a return value or output parameters, or to determine whether an exception was thrown after an Update operation has completed. The return value, output parameters, and exception handling properties are available from the Object Data Source Status Event Args object that is associated with the event. For more information about handling events, see NIB: Consuming Events.

1 AND 4: Add "on Row Updated" to your gridview properties in your file. It would have Edit Item Template and Item Template like this: int index = grd Player. After doing this, create string as follows and then add the new string to e. Grid View didn't create the array of string[] seperated by 'comma', therefore I had to do it manually.HI Everyone, Im trying to update the grid view with new values which uses Object Datasource control.My Grid View has Check Box List which is being populated as Hi, I think you are looking for Object Data Source_Updating event handler.You may refer this documentation from MSDN: think you can construct the comma delimiter string in the event handler and pass this to the parameter. The solution is to catch Updating event of Grid View and then find the Checkbox List in the row.

Leave a Reply