468,243 Members | 2,057 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,243 developers. It's quick & easy.

wants to copy an excel data and paste it in a data grid (very urgent)

hi this is veera, i wants to copy a data from an excel and paste it into a data grid in the web form (asp .net) by clicking the button paste... i think it can be done in java script using clipboard option... but i dont know java script... can anyone help me?
Nov 16 '06 #1
1 2154

This grid is populated using an array. However, this grid is dynamic in the fact that it will grow with the amount of data inserted. (@20,000 row)

Excel sheets when saved as a text file instead of .cvs will give you a quick backdoor to how to format.

Ex. Save your excel sheet as a .txt. Then open the sheet up in notepad. Pay attention to the format it gives. You can parse the data and put it into an array which can then populate the grid. This is not the most poetic way but will work.
Nov 16 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Faith | last post: by
reply views Thread by sunilkumar Reddy via DotNetMonster.com | last post: by
reply views Thread by Tom | last post: by
reply views Thread by an.sally | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.