Hi
I've got an update business object method which takes about 80 parameters.
I'm getting the 'could not find a non-generic method' error. I know that the
ObjectDataSource UpdateParameters matches the business object method
signiture. I ran the code below to discover that the InputParameters is in
fact a list of bound values in my FormView control, i.e. not the
UpdateParameters list.
protected void ObjectDataSource_Updating(object sender,
ObjectDataSourceMethodEventArgs e)
{
foreach (DictionaryEntry var in e.InputParameters)
{
Response.Write(var.Key.ToString() + "\n");
}
}
What is the purpose of the UpdateParameters if they don't get used? What am
I doing wrong or what do I need to understand about the ObjectDataSource
when using in this context?
Many thanks
Andrew