How do I get/set the cell value of a DataGrid like in the image.

I want to get the text from the textbox in the cell and use it in a save command.

Here is my current code:
c#.net Code:
  1. protected void grid_ItemCommand(object source, DataGridCommandEventArgs e)
  2.     {
  3.         // stop editing
  4.         GV.EditItemIndex = -1;
  5.  
  6.         switch (e.CommandName)
  7.         {
  8.             case "Insert":
  9.                 break;
  10.             case "Update":
  11.                 string a = "";
  12.                
  13.               a = e.Item.Cells[1].Text;
  14.                            
  15.                
  16.                 break;
  17.             case "Cancel":
  18.                 EditCommandColumn ecc = (EditCommandColumn)GV.Columns[0];
  19.                 ecc.UpdateText = "Update";
  20.                 break;
  21.             case "Edit":
  22.                 // begin editing
  23.                 GV.EditItemIndex = e.Item.ItemIndex;
  24.                 break;
  25.         }

That code is returning blank strings. Please help me get my cell values.
Name:  ASP.jpg
Views: 2309
Size:  31.5 KB