TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mckynde Gizmo
NA
3
3.4k
Exporting Data to Excel worksheet
Apr 24 2014 4:54 AM
I wrote a program that import data from a user specified excel worksheet, performe some calculations on it and then returns it back to thesame worksheet. It worked quite well, then i was on windows 7. But now am on windos 8, i try to run the code again but it gives me error "HRESULT". Please what could have caused this? Could the windows be responsible for this? I use visual studio 2010, .Net 4.0
When it run and reach the code below it throws an uncaught exception HRESULT
//I have declared worksheet appropriately and
//decleared 'i' as integer and using for loop
//statement to iterate through each row of the
//dataGridview
{
worksheet.cell[2, H].Value = dataGridview.Rows[i].Cell[0].Value;
}
Reply
Answers (
1
)
System.FormatException:DataGridViewComboBoxCell Error
How to write TextBook program