I have the following code,
When the update button in Gridview is clicked , it throws an error: No value given for one or more required parameters
If you look at the below link, under Remarks it says "A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source."
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowupdating.aspx