in C# how to extract data from datagrid control in edit mode
IN C#
how to extarct data from datagrid control for updatig if we place edit button on each column ... update and cancel links in each columns
so for updating each column values how to extract from tablecell
i know in VB but not in C#
dim s as string
s=ctype(e.item.cells[0],tablecell).text
but how in C# ctype not worked
please give reply