简体   繁体   中英

Automatically fill Form Values from excel spreadsheet html

I have a large form in html with approximately 100 -150 fields. I was wondering if it was possible to do something like drag and drop / copy and paste text or a spread sheet into the html page so that it automatically populates all the forms fields

There are numerous ways to automate form filling with C#. The best of these solutions being Selenium Web Driver .

Accessing values from Excel can be done easily using any number of libraries out there as well. I really like LinqToExcel , but that might be overkill for what you are doing.

That being said the real issue is that you need an intelligent way to map values from your spreadsheet to fields in the web page . That is going to be the sticky bit.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM