Get gridview column id

J

Jayender

Hi,
I have displayed data from database (SQL) in a grid view and i have
placed a checkbox in Gridview .. now what i need to do is :
..
i need to update data if the checkbox is ticked :
like i have provided a button .. when u click it , i need to update the
database like change the value fto " 1 " from " 0 " ,
so i wrote the update comand
" update database_name set column_name= '1' where another column_name
= " this has to be the value from the gridview ";

how to get the value from the grid view column so that i can update in
the database.

waiting for ur response..

Ciao,
Jay
 

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,773
Messages
2,569,594
Members
45,122
Latest member
VinayKumarNevatia_
Top