I've been using SqlDataSource for the first time lately. I need to be
able to set a value right before an update and send it off to the
update proc. Ideally, this would be simply updating that field in the
datasource and then letting the gridview update the data.
However, I can't seem to find how to access the data??? I've tried
putting code in the RowCommant event, but the DataSource is null, so I
don't know where else to set data....
Do I need to switch to the ObjectDataSource in order for this to work.
Thanks,
Dave
Eliyahu Goldin - 25 Sep 2007 10:09 GMT
Did you try SqlDataSource.Updating event?

Signature
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
> I've been using SqlDataSource for the first time lately. I need to be
> able to set a value right before an update and send it off to the
[quoted text clipped - 9 lines]
> Thanks,
> Dave
Dave - 26 Sep 2007 07:35 GMT
Thank you, this is exactly what I was looking for... I'm kinda new to
this.
I was almost thinking that I needed to swith to an ObjectDataSource or
something