Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 27, 2012 06:06 AM by lga1981
Feb 27, 2012 04:46 AM|LINK
hello you all
i have a table in datagrid that generated automaticly
i set my data key field to id
i also add a btn that say "Select"
and the command name is "Select"
all i want is when i click on the select btn it will take the id value of the selected row and do the following code
string Row_Id = "the data key value from the selected row"
i know how to do it in gridview but i cant get it done in data grid
Please Help !!!!!!!
Thank's in advance
Feb 27, 2012 04:56 AM|LINK
plz refer http://forums.asp.net/t/1156303.aspx/1 ,for gridview
http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/e52a237f-5dee-4409-87d1-7a8620ed7e43 for datagrid
Feb 27, 2012 04:58 AM|LINK
Feb 27, 2012 06:06 AM|LINK
here is my solution
string customer_id =
the number 1 next to the Cells is the clm position it start from "0"
Thank You All