Dear friends from aspforums,
After lon search came accros you post EDIT UPDATE DELETE GridView with data imported from Excel file in ASP.Net. The link to anser (marked SOLVED) is
http://www.aspforums.net/Threads/252829/Edit-Update-Delete-GridView-with-data-imported-from-Excel-file-in-ASPNet/
BUsed code and was happy to see gridview with edit button in each row. As soon as I clicked EDIT button, I get and error
Multiple controls with the same ID 'Button1' were found. FindControl requires that controls have unique IDs. Exception Details: System.Web.HttpException: Multiple controls with the same ID 'Button1' were found. FindControl requires that controls have unique IDs.
Please if it is possible explain to me what I am missing.
Thank you, Simon
Details of error shown below.
[HttpException (0x80004005): Multiple controls with the same ID 'Button1' were found. FindControl requires that controls have unique IDs.]
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +233
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +311
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +304
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +412
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +412
System.Web.UI.Page.FindControl(String id) +38
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +245
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1960