Author: polynaux | Posted on: 12/6/2008 12:29:22 PM | Views : 750

 

I am just wondering how to access the cell value for the row updating (event = Gridview.RowUpdating)

        SqlDataSourceLocations.UpdateParameters("LocationName").DefaultValue = GridViewLocations.Rows.Item(e.RowIndex).Cells("LocationName").ToString

  Message="Conversion from string "LocationName" to type 'Integer' is not valid."


I would prefer to get the cells by name rather then by location e.g. 0,1,2,... since the location might change.


any ideas why I get this odd error?  

PS: location name is not an integer


...

Go to the complete details ...