I know this isn't a unique issue but I've not had much luck finding examples of how others have addressed this issue. I have an intranet asp.net application I have inherited and am building upon. One particular page is for data entry to submit a claim for approval and we have a form where one record at a time can be entered and it is validated in realtime against the database for valid product information.
I have been asked to add a feature where users can import a large number of records all at once to save them time of going through each text box and dropdown list one at a time for over 100 records sometimes.
The solution I've looked into as my first option is to create an excel spreadsheet they can open from a link on the page that I have formatted into a template that they can copy/paste their data into, save and then upload to the server and import as a linked server object into sql server.
Due to the nature of this solution and some of the data being imported I have to program some error handling into VB for the spreadsheet and if I ever find a bug to fix, there is no good way to guarentee the user is going to use the version on the page and not some local copy they saved that may break when trying to import.
I've ruled out one big text box that I attempt to parse because I have no control that way over how the user enters the data.
Is there some better and possibly more obvious solution that I am missing?