Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: Explain: "Store by value instead of by reference" Pin
Luc Pattyn13-Aug-07 17:40
sitebuilderLuc Pattyn13-Aug-07 17:40 
QuestionTough ActiveX question Pin
newb2vb13-Aug-07 15:37
newb2vb13-Aug-07 15:37 
QuestionConsuming a Delphi COM EXE in Visual Studio C# App Pin
alias4713-Aug-07 14:59
alias4713-Aug-07 14:59 
Questionhow to detect remote input in c#? Pin
Inam Jameel13-Aug-07 13:29
Inam Jameel13-Aug-07 13:29 
AnswerRe: how to detect remote input in c#? Pin
Liam O'Hagan13-Aug-07 20:32
Liam O'Hagan13-Aug-07 20:32 
QuestionHtmlEncode Pin
vfhgujaqwe13-Aug-07 12:02
vfhgujaqwe13-Aug-07 12:02 
AnswerRe: HtmlEncode Pin
Christian Graus13-Aug-07 13:38
protectorChristian Graus13-Aug-07 13:38 
QuestionConverting Excel File to XML Pin
T4AMD13-Aug-07 9:47
T4AMD13-Aug-07 9:47 
I am trying to convert Excel file to XML using C#. And the name of the Excel file is Contacts.xls and the SheetName is Contacts.

OleDbcmdSource.CommandText = "SELECT * FROM [" + Contacts + "$]";

The above code is where it gives me an error. I get an error that the name Contacts does not exist in the current context.

This is my Web.Config code: <connectionstrings>
<add name="ExcelConnectionString" connectionstring="Data Source=C:\Contacts.xls;Extended Properties=Excel 8.0;HDR=No;IMEX=1;Provider=Microsoft.Jet.OLEDB.4.0;">

AnswerRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 10:09
pmarfleet13-Aug-07 10:09 
QuestionRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 10:24
T4AMD13-Aug-07 10:24 
AnswerRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 10:37
pmarfleet13-Aug-07 10:37 
QuestionRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 10:42
T4AMD13-Aug-07 10:42 
AnswerRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 10:46
pmarfleet13-Aug-07 10:46 
AnswerRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 10:49
T4AMD13-Aug-07 10:49 
GeneralRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 10:57
pmarfleet13-Aug-07 10:57 
QuestionRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 11:03
T4AMD13-Aug-07 11:03 
AnswerRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 11:15
pmarfleet13-Aug-07 11:15 
QuestionRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 11:26
T4AMD13-Aug-07 11:26 
QuestionRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 11:39
T4AMD13-Aug-07 11:39 
QuestionRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 13:15
T4AMD13-Aug-07 13:15 
AnswerRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 21:52
pmarfleet13-Aug-07 21:52 
QuestionRuntime Class Declaration Pin
mfcuser13-Aug-07 9:43
mfcuser13-Aug-07 9:43 
AnswerRe: Runtime Class Declaration Pin
mfcuser13-Aug-07 10:21
mfcuser13-Aug-07 10:21 
GeneralRe: Runtime Class Declaration Pin
PhilDanger13-Aug-07 11:08
PhilDanger13-Aug-07 11:08 
Question[C#] - Linking the designer and Form Pin
aravinda77713-Aug-07 9:35
aravinda77713-Aug-07 9:35 

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.