HELP! How do you set data in the datasource when using SqlDataSource

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

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
 
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
 
Back
Top