Click here to Skip to main content
15,920,468 members
Home / Discussions / C#
   

C#

 
AnswerRe: project doubt Pin
Rutvik Dave10-Mar-09 4:38
professionalRutvik Dave10-Mar-09 4:38 
GeneralRe: project doubt Pin
vinithakizhussery10-Mar-09 5:10
vinithakizhussery10-Mar-09 5:10 
GeneralRe: project doubt Pin
yesu prakash10-Mar-09 20:25
yesu prakash10-Mar-09 20:25 
QuestionReplicate Vista Feature (Is there an API?) Pin
User 23822929-Mar-09 16:32
User 23822929-Mar-09 16:32 
QuestionExcel and C# Pin
clj198705039-Mar-09 15:14
clj198705039-Mar-09 15:14 
AnswerRe: Excel and C# Pin
Christian Graus9-Mar-09 16:19
protectorChristian Graus9-Mar-09 16:19 
GeneralRe: Excel and C# Pin
abhiram_nayan9-Mar-09 21:39
abhiram_nayan9-Mar-09 21:39 
Question"could not find installable ISAM" error when reading Excel.xls file by OleDbConnection Pin
imio249-Mar-09 14:47
imio249-Mar-09 14:47 
hey everyone:
my project comes out this error"could not find installable ISAM" error with Extended Properties=Excel 8.0;HDR=NO;IMEX=1" when i want to read excel .xls file by string OLEDB Connection. but once i take off HDR=NO;IMEX=1. it is able to compliered but it cannt read the first row data. how can i solve the problem. thank you so much



string cnStr = @"Data Source=" + filePathName.ToString() + ";Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties=Excel 8.0;HDR=NO;IMEX=1";
using (OleDbConnection cn = new OleDbConnection(cnStr))
{
using (OleDbCommand cmd = new OleDbCommand())
{
cmd.Connection = cn;
cn.Open();
cmd.CommandText = "select * from [" + tpfileName + "$]";
using (OleDbDataReader dr = cmd.ExecuteReader())
{
while (dr.Read())
{for (int i = 0; i < dr.FieldCount; i++)
{temp.Add(dr[i].ToString());}
}
}
}
}
AnswerRe: "could not find installable ISAM" error when reading Excel.xls file by OleDbConnection Pin
Mycroft Holmes9-Mar-09 21:24
professionalMycroft Holmes9-Mar-09 21:24 
QuestionTelent connect for Oracle.Net app Pin
BrianWood9-Mar-09 13:38
BrianWood9-Mar-09 13:38 
QuestionExceptions and out parameters Pin
mringholm9-Mar-09 13:00
mringholm9-Mar-09 13:00 
AnswerRe: Exceptions and out parameters Pin
Christian Graus9-Mar-09 14:07
protectorChristian Graus9-Mar-09 14:07 
GeneralRe: Exceptions and out parameters Pin
mringholm10-Mar-09 5:26
mringholm10-Mar-09 5:26 
AnswerRe: Exceptions and out parameters Pin
Luc Pattyn9-Mar-09 14:55
sitebuilderLuc Pattyn9-Mar-09 14:55 
GeneralRe: Exceptions and out parameters Pin
mringholm10-Mar-09 5:23
mringholm10-Mar-09 5:23 
AnswerRe: Exceptions and out parameters Pin
Luc Pattyn10-Mar-09 6:00
sitebuilderLuc Pattyn10-Mar-09 6:00 
QuestionIXMLHTTPRequest Pin
tsahiB9-Mar-09 12:25
tsahiB9-Mar-09 12:25 
QuestionSerialport speed unstable C# Visual Studio 2008 Pin
jondaeh9-Mar-09 10:18
jondaeh9-Mar-09 10:18 
AnswerRe: Serialport speed unstable C# Visual Studio 2008 Pin
Dan Neely9-Mar-09 11:01
Dan Neely9-Mar-09 11:01 
AnswerRe: Serialport speed unstable C# Visual Studio 2008 Pin
Luc Pattyn9-Mar-09 11:16
sitebuilderLuc Pattyn9-Mar-09 11:16 
AnswerRe: Serialport speed unstable C# Visual Studio 2008 Pin
0x3c09-Mar-09 11:17
0x3c09-Mar-09 11:17 
AnswerRe: Serialport speed unstable C# Visual Studio 2008 Pin
Jonathan Davies10-Mar-09 1:56
Jonathan Davies10-Mar-09 1:56 
Questionhow to know who executed my application ? Pin
shabya9-Mar-09 10:11
shabya9-Mar-09 10:11 
AnswerRe: how to know who executed my application ? Pin
Jimmanuel9-Mar-09 10:36
Jimmanuel9-Mar-09 10:36 
AnswerRe: how to know who executed my application ? Pin
harold aptroot9-Mar-09 10:40
harold aptroot9-Mar-09 10:40 

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.