How to drag and drop an Excel row to a textbox in a web page in HTML or c#
How to drag and drop an Excel row to a textbox in a web page in HTML or c#
I know how to make any HTML element into a drag and drop area and how to use the ondrag() and ondrop() features. But now I want to be able to drag and drop a row from an Excel sheet to the HTML element (textbox).
ondrag()
ondrop()
My question is: how do I achieve this? Is it possible?
I've been trying to drag and drop from Excel to like a text file but it doesn't work. Do I have to enable drag and drop in Excel or is it just not possible to drag items out of Excel?
Welcome to SO. Please take a tour of the help centre to see how to ask a good question and what types of question are on topic for the site
– Pete
Sep 14 '18 at 15:30
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
It's possible, when you drag and drop a row it's just text and the columns are separated by a tab.
– Matt
Sep 14 '18 at 15:29