This project is read-only.

select from datagrid to delete from database (Solved)

May 19, 2014 at 9:57 PM
hello guys ,
could you help me please ,
i want to select a record from data grid (row) , then i want to hod a specific value from it , let me say (employer_id) , to be able after that to delete the record when i press a button , i used this code to delete . and it works fine

// var stor = new storestbl {store_id=X};

so we want to replace the value of (X) by the variable that's hold the value like the (employer_id) from the selected value from the datagrid.

please help .
May 21, 2014 at 10:00 AM
no response :(

solved by creating a class to hold the value

thanx any way .