Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Login to Excel? (modified)

 

I read an xls file into a dataset and use this dataset as the ReportSource for my report.

 

Every thing works fine until I get a Logon to Database prompt?

 

The xls file is c:\returns.xls

 

In the login window it states the following:

 

Table = Returns_

 

Server Name c:\returns.xls

 

Database = c:\returns.xls

 

If the ReportSource is a dataset why am I being prompted for a logon??

 

Any ideas:confused:

Edited by hog
My website
Posted

For your info:

 

The following produces the logon box?

 

myCommand.Fill(datasetname)

 

whereas this does not??

 

myCommand.Fill(datasetname, tablename)

My website
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...