ADO.NETFor discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
am showing a database table in a datagrid. I have added a delete event in it. can any one tell me how do i get the value of the cell of the selected row. For example, i am showing value in grid like:
Delete ID Name Address
[u]Delete</u> 1 A abc st.
[u]Delete </u> 2 B xyz st.
[u]Delete</u> 3 C lll ave
In the above scenario, how do i get the value 1 when user clicks on the delete button for the first row