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

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
 
D

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top