Click here to Skip to main content
15,891,657 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to do Right Alignment? Pin
Luc Pattyn20-Oct-09 2:01
sitebuilderLuc Pattyn20-Oct-09 2:01 
QuestionHiding content in an email message - Pls help Pin
nirmalsat19-Oct-09 19:09
nirmalsat19-Oct-09 19:09 
AnswerRe: Hiding content in an email message - Pls help Pin
Christian Graus19-Oct-09 19:28
protectorChristian Graus19-Oct-09 19:28 
AnswerRe: Hiding content in an email message - Pls help Pin
carlecomm20-Oct-09 21:07
carlecomm20-Oct-09 21:07 
Question[Solved]Customize calendar control Pin
Ishqalways19-Oct-09 18:54
Ishqalways19-Oct-09 18:54 
AnswerRe: Customize calendar control Pin
Christian Graus19-Oct-09 18:58
protectorChristian Graus19-Oct-09 18:58 
AnswerRe: Customize calendar control Pin
Russ-T19-Oct-09 19:52
Russ-T19-Oct-09 19:52 
QuestionHow to set the image field data to some cell of Excel? Pin
mctramp16819-Oct-09 15:25
mctramp16819-Oct-09 15:25 
AnswerRe: How to set the image field data to some cell of Excel? Pin
mctramp16820-Oct-09 14:06
mctramp16820-Oct-09 14:06 
QuestionSharePoint Search in Document Pin
W4Rl0CK4719-Oct-09 13:56
W4Rl0CK4719-Oct-09 13:56 
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 
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 
I really have no idea with excel, but:

If the Select * works fine, then examine the datarow(s) returned and find the name(s) of the columns returned - that will show you what names of columns you need to use in your select statement.

Try reducing the first Select to just returning one column - if that works add the next column and keep going until it breaks.

My suspicion is that the excel data provider is not using the first row for column names, hence it can't find them in your first query - so you need to find out how to tell it to treat the first row as names of columns.

Good Luck

Max

___________________________________________
.\\axxx
(That's an 'M')

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 

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.