c# - Paste from excel to textbox -
I want to copy some data from excel file into text box in an app. Copy paste works fine, if the cells are continuous, but if I select the first cell and the third cell, when I paste it in the textbox, then it will also paste the second cell to get the most of those cells. What's the best way I am interested in? Thank you
The only way I found is to copy two interesting columns, they have to re-paste the next Copy each other (like a new spreadsheet) somewhere in Excel, and paste it into the text box.
Textboxes are not really for data in the grid view. If you are creating text boxes, then I recommend that you try some kind of grid view control instead.
If you want to use a textbox, then I also recommend copying the data from some delimiter, such as a comma, separating the data into rows, otherwise it is difficult to work when it is removed from the box. Will be done.
Comments
Post a Comment