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
darma teja
NA
496
338.6k
Export only one column from excel into datagrid view
Nov 22 2012 9:55 AM
Hi,
I wanted to export only one colum into datagridview
My code is here:
OpenFileDialog fdlg = new OpenFileDialog();
fdlg.Title = "select Excel file";
fdlg.Filter = "Excel files | *.xls";
fdlg.FilterIndex = 2;
fdlg.RestoreDirectory = true;
if (fdlg.ShowDialog() == DialogResult.OK)
{
string filename = fdlg.FileName;
XLS.Application myapp = new XLS.Application();
XLS.Workbook wb = myapp.Workbooks.Open(filename);
XLS.Worksheet sheet = (XLS.Worksheet)wb.Worksheets.get_Item(1);
I am getting problem here
Thanks
Darma
Reply
Answers (
1
)
I could not solve this problem to show image along with report.
Exe won't run from code