UPDATE not working in GRIDVIEW

L

loga123

Hi All,

I am using asp.net 2.0. I have a gridview where I want to update a row
value on clicking 'UPDATE" buttomn.

I have set up sqlDataSource and UPDATE statement. When I click on
UPDATE, it simply returns to EDIT and changes are not reflected either
in gridview or in the database.

My update statement works fine in QA. If I hard code the values from
gridview (edited values) in my UPDATE statement, it works fine.
I am not sure what am I missing. For every parameter in UPDATE
statement, I set "control" parameters where controlID = "MyGridView".

Any help is greatly appreciated. I have already spent many hours on
this and trying to figure out the problem. It's very urgent for me.
Please help

Thanks
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top