>>Instead of trying to change UpdateCommand in code, can you just place this code there when you configure DataSource or in ASPX code ?
>
>Something is wrong with your last message. It does not load fully. However I got the text. What I meant was, do you know of a way to obtain a reference to the connection being used by a SqlDatasource so I can implement Viv's original suggestion?
>
>Second, I DID try putting the code directly in the aspx markup. That was the point of my last post. The syntax checker didn't like it and it wouldn't build.
>:)
Not at the moment.
Post ASPX portion you tried in the meantime.
If it's not broken, fix it until it is.
My Blog