471,072 Members | 1,454 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,072 software developers and data experts.

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 2233

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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.