Click here to Skip to main content
15,886,077 members
Home / Discussions / C#
   

C#

 
AnswerRe: SharePoint Search in Document Pin
Not Active19-Oct-09 14:32
mentorNot Active19-Oct-09 14:32 
Questioncode behind Pin
auriva19-Oct-09 13:45
auriva19-Oct-09 13:45 
AnswerRe: code behind Pin
Christian Graus19-Oct-09 14:15
protectorChristian Graus19-Oct-09 14:15 
GeneralRe: code behind Pin
EliottA19-Oct-09 14:30
EliottA19-Oct-09 14:30 
GeneralRe: code behind Pin
Christian Graus19-Oct-09 15:35
protectorChristian Graus19-Oct-09 15:35 
GeneralRe: code behind Pin
Luc Pattyn19-Oct-09 16:19
sitebuilderLuc Pattyn19-Oct-09 16:19 
AnswerRe: code behind Pin
Pete O'Hanlon19-Oct-09 22:35
mvePete O'Hanlon19-Oct-09 22:35 
QuestionNo value given for one or more required parameters. Pin
Kevin Marois19-Oct-09 13:12
professionalKevin Marois19-Oct-09 13:12 
I'm really stuck here. I have been Googling this all day and no luck.

I'm working in a C# WinForms app that reads data from Excel into a DataSet. Here's the SQL:

string Query = "SELECT [TPMA Run Date],[Buyer],[Item],[PO Number],[PO Line],[PO Due Date],[Date Required]," +
                "[New Date],[Status Comment],[Status Code],[Prior Week New Date],[Prior Week Status]," +
                "[Prior Week Status Code],[SEQNUM] FROM [Current MRP Action Messages$]";


If I change it to this, it works fine:
string Query = "SELECT * FROM [Current MRP Action Messages$]";


Here's my conn string:

ConnectionString = @"provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + FileName + ";Extended Properties=\"Excel 8.0;HDR=NO;IMEX=1\"";


The Excel file has column headers in the first row.

Anyone know what's wring here?

Everything makes sense in someone's mind

AnswerRe: No value given for one or more required parameters. Pin
Luc Pattyn19-Oct-09 13:41
sitebuilderLuc Pattyn19-Oct-09 13:41 
AnswerRe: No value given for one or more required parameters. Pin
_Maxxx_20-Oct-09 19:12
professional_Maxxx_20-Oct-09 19:12 
QuestionWindows application Pin
or or19-Oct-09 11:34
or or19-Oct-09 11:34 
AnswerRe: Windows application Pin
Eddy Vluggen19-Oct-09 11:54
professionalEddy Vluggen19-Oct-09 11:54 
GeneralRe: Windows application Pin
or or19-Oct-09 20:24
or or19-Oct-09 20:24 
AnswerRe: Windows application Pin
Not Active19-Oct-09 13:15
mentorNot Active19-Oct-09 13:15 
QuestionRe: Windows application Pin
or or20-Oct-09 0:06
or or20-Oct-09 0:06 
QuestionMagical thread? [modified] Pin
Scalee19-Oct-09 10:42
Scalee19-Oct-09 10:42 
AnswerRe: Magical thread? [modified] Pin
Luc Pattyn19-Oct-09 11:39
sitebuilderLuc Pattyn19-Oct-09 11:39 
GeneralRe: Magical thread? Pin
Scalee19-Oct-09 12:23
Scalee19-Oct-09 12:23 
AnswerRe: Magical thread? Pin
Luc Pattyn19-Oct-09 12:43
sitebuilderLuc Pattyn19-Oct-09 12:43 
GeneralRe: Magical thread? Pin
Scalee19-Oct-09 21:39
Scalee19-Oct-09 21:39 
GeneralRe: Magical thread? Pin
Luc Pattyn20-Oct-09 1:36
sitebuilderLuc Pattyn20-Oct-09 1:36 
QuestionVisual Studio managing my project files Pin
LimitedAtonement19-Oct-09 9:59
LimitedAtonement19-Oct-09 9:59 
AnswerRe: Visual Studio managing my project files Pin
Not Active19-Oct-09 10:08
mentorNot Active19-Oct-09 10:08 
GeneralRe: Visual Studio managing my project files Pin
LimitedAtonement19-Oct-09 10:14
LimitedAtonement19-Oct-09 10:14 
GeneralRe: Visual Studio managing my project files Pin
Not Active19-Oct-09 10:25
mentorNot Active19-Oct-09 10:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.