>>>>Hi,
>>>>
>>>>Isn't refreshing the GridView simply a matter of calling its .DataBind() method? Can you use the FormView events ( .ItemUpdated etc.) to only trigger the .DataBind() when neccessary?
>>>>
>>>>Regards,
>>>>Viv
>>>
>>>I don't think it's that simple. DataSet for the GridView has no idea that changes were made in the database. See this discussion
>>>
http://forums.asp.net/p/1320369/2624488.aspx#2624488>>
>>I see that the poster there, like you, says that the Dataset used as the datasource for the gridview is stored as a session variable. If that is the case can't you just use the same session reference as the datasource for the FormView ?
>
>I can not. The GridView dataset uses only small subset of fields. FormView uses SQLDataSource with StoredProcedure in UpdateCommand.
>
>Anyway, I found this link
http://msdn.microsoft.com/en-us/library/tat996zc.aspx and I'm trying it right now.
>
>The poster there is me, BTW :)
DOH That explains the similarities in the problem :-}
So are you planning on having the FormView locate the relevant row in the session reference and just updating the relevant fields there?
Regards,
Viv