Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Alwyn
(110)
Avinash Mohan
(90)
Shunmuganathan ...
(85)
Last 7 Days
Alwyn
(848)
nishithraj
(509)
Asheej T K
(505)
more...
Forums
»
.NET
»
.NET
»
Data table urgent help me...
Posted Date:
24 Sep 2008
Posted By:
venkat
Member Level:
Gold
Points
: 1
Responses:
1
Hi,
I to fill all the array data in datatable
for (int i = 1; i <=10; i++)
{
Excel.Range range = worksheet.get_Range("A" + i.ToString(), "J" + i.ToString ());
System.Array myvalues = (System.Array)range.Cells.Value2;
}
Any one tell me how to store System.Array of myvalues in a datatable .
Regards,
venkat.
Responses
Author:
Elayaraja.K
24 Sep 2008
Member Level:
Silver
Rating:
Points
: 3
you can use following code
dim dt as Datatable
dim drow as datarow
for i =i to arraylen
drow=dt.newrow()
drow(0)=array(i)
dt.rows.add(drow)
next i
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Next :
Different types of overriding?
Previous :
how to draw rectangle,circle using drag and drop method(to draw flow chart) in asp.net(c#)
Return to Discussion Forum
Post New Message
Category:
.NET
Related Messages
Is there any expert to solve this?
what is difference between String and string(data type) in c#?
what is a resource file...
Horizontal Scroll Bar for a listview control
sql querry
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use