How do I set the parameter values of an ObjectDataSource control in code?
[top] Suppose that you want to set the parameters in the Select method of an ObjectDataSource control. You can handle the Selecting event to set the parameters. For example: protected void ObjectDataSource1_Selecting(object sender, ObjectDataSourceSelectingEventArgs e) { e.InputParameters[“accountID”] = 5; } 1.