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

C#

 
GeneralRe: Stringbuilder Pin
Anurag Sarkar16-Apr-12 19:59
Anurag Sarkar16-Apr-12 19:59 
AnswerRe: Stringbuilder Pin
Keith Barrow16-Apr-12 23:00
professionalKeith Barrow16-Apr-12 23:00 
GeneralRe: Stringbuilder Pin
VJ Reddy16-Apr-12 23:31
VJ Reddy16-Apr-12 23:31 
QuestionProgramatically add digital signature to a document uploaded in Sharepoint library Pin
NishaTM16-Apr-12 16:48
NishaTM16-Apr-12 16:48 
QuestionOptimising XML Pin
si_6916-Apr-12 8:01
si_6916-Apr-12 8:01 
AnswerRe: Optimising XML Pin
PIEBALDconsult16-Apr-12 11:05
mvePIEBALDconsult16-Apr-12 11:05 
SuggestionRe: Optimising XML Pin
RobCroll16-Apr-12 18:10
RobCroll16-Apr-12 18:10 
QuestionError in loading excel file in windows 7 ... Pin
nassimnastaran16-Apr-12 5:34
nassimnastaran16-Apr-12 5:34 
Hi all !
in my project to reading an excel file , there is no problem in windows XP , but in Win Seven(7) , I have problem to reading the excel 2007 file . here in some part of code :
string connectionString = String.Format(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties=""Excel 12.0;HDR=YES;IMEX=1;""", openFileDlgData.FileName);
string SheetName = "Test";
string query = String.Format(@"select * from [{0}$]", SheetName);
   try
     {
        OleDbConnection conn = new OleDbConnection(connectionString);
        OleDbDataAdapter dataAdapter = new OleDbDataAdapter(query, conn);
        System.Data.DataTable dt = new System.Data.DataTable("ExcelData");
        dataAdapter.Fill(dt);
        ...

Thanks in any help !
AnswerRe: Error in loading excel file in windows 7 ... Pin
Pete O'Hanlon16-Apr-12 5:41
mvePete O'Hanlon16-Apr-12 5:41 
GeneralRe: Error in loading excel file in windows 7 ... Pin
nassimnastaran16-Apr-12 6:47
nassimnastaran16-Apr-12 6:47 
AnswerRe: Error in loading excel file in windows 7 ... Pin
Wes Aday16-Apr-12 7:01
professionalWes Aday16-Apr-12 7:01 
GeneralRe: Error in loading excel file in windows 7 ... Pin
nassimnastaran16-Apr-12 7:32
nassimnastaran16-Apr-12 7:32 
GeneralRe: Error in loading excel file in windows 7 ... Pin
Wes Aday16-Apr-12 9:02
professionalWes Aday16-Apr-12 9:02 
AnswerRe: Error in loading excel file in windows 7 ... Pin
Eddy Vluggen16-Apr-12 8:28
professionalEddy Vluggen16-Apr-12 8:28 
Questionsoap headers are not added Pin
anandsurya16-Apr-12 0:19
anandsurya16-Apr-12 0:19 
AnswerPlease ignore - cross posted. Pin
Pete O'Hanlon16-Apr-12 0:26
mvePete O'Hanlon16-Apr-12 0:26 
Question.net Framework Pin
Mandeep Sembhi15-Apr-12 23:04
Mandeep Sembhi15-Apr-12 23:04 
AnswerRe: .net Framework PinPopular
egenis15-Apr-12 23:13
egenis15-Apr-12 23:13 
AnswerRe: .net Framework Pin
VJ Reddy15-Apr-12 23:16
VJ Reddy15-Apr-12 23:16 
QuestionPlease I need help on this because it's not filling the form Pin
relicon15-Apr-12 15:39
relicon15-Apr-12 15:39 
AnswerRe: Please I need help on this because it's not filling the form Pin
relicon15-Apr-12 15:40
relicon15-Apr-12 15:40 
GeneralRe: Please I need help on this because it's not filling the form Pin
BobJanova15-Apr-12 23:35
BobJanova15-Apr-12 23:35 
GeneralRe: Please I need help on this because it's not filling the form Pin
Member 281270416-Apr-12 0:24
professionalMember 281270416-Apr-12 0:24 
GeneralRe: Please I need help on this because it's not filling the form Pin
Pete O'Hanlon16-Apr-12 0:39
mvePete O'Hanlon16-Apr-12 0:39 
QuestionCRC-ITU calculation in c# Pin
Hilman Anshori15-Apr-12 14:25
Hilman Anshori15-Apr-12 14: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.