Hi,
are these operations (this and the one in ItemCreated) sharing the same
connection object, which would get closed unexpectedly?
You don't need to optimize that way (sharing one connection on the page)
necessarily, since connection pooling in .NET will mostly take care of that
e.g it will get you connections efficiently and reuse them. Of course if
there could be numerous of conenction object creations, that's another thing
And with DataAdapters' you don't need to open the connection first before
calling Fill, it is opened for you.
Anyways, to give more exact advice, can you show the code in ItemCreated
using the connection?

Signature
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
> Hi
>
[quoted text clipped - 22 lines]
>
> Thanks, Mark