Click here to Skip to main content
15,906,335 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 23:47
Ramin Rahimee9-Mar-09 23:47 
GeneralRe: how to delay sending mail in c# Pin
Mycroft Holmes9-Mar-09 23:26
professionalMycroft Holmes9-Mar-09 23:26 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 23:42
Ramin Rahimee9-Mar-09 23:42 
QuestionA few Excel Questions Pin
MumbleB9-Mar-09 20:42
MumbleB9-Mar-09 20:42 
AnswerRe: A few Excel Questions Pin
Mycroft Holmes9-Mar-09 21:06
professionalMycroft Holmes9-Mar-09 21:06 
QuestionContextMenuStrip shortcuts problem Pin
maryam.saboor9-Mar-09 20:37
professionalmaryam.saboor9-Mar-09 20:37 
AnswerRe: ContextMenuStrip shortcuts problem Pin
Mycroft Holmes9-Mar-09 21:10
professionalMycroft Holmes9-Mar-09 21:10 
QuestionProblem in reading excel from server folder Pin
Krishna Varadharajan9-Mar-09 20:29
Krishna Varadharajan9-Mar-09 20:29 
Hi,

Here is my code...

string sPath = Server.MapPath("~/sms/sms.xls");
String sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=sPath;Extended Properties=Excel 8.0";
OleDbConnection objConn = new OleDbConnection(sConnectionString);

objConn.Open();

OleDbCommand objCmdSelect = new OleDbCommand("SELECT * FROM [Sheet1$]", objConn);


From the above code, connection string was working and connection is opening fine, than its throwing the error messg like

"The Microsoft Jet database engine could not find the object 'Sheet1$'. Make sure the object exists and that you spell its name and the path name correctly."

But sms.xls file having the name of sheet1 and which resides inside the sms folder... than to y this message appearing....

Pls help me....for the past 2 days iam sike of this problem

krishna

AnswerRe: Problem in reading excel from server folder Pin
Mycroft Holmes9-Mar-09 21:16
professionalMycroft Holmes9-Mar-09 21:16 
AnswerRe: Problem in reading excel from server folder Pin
Jack Li9-Mar-09 23:06
Jack Li9-Mar-09 23:06 
Questionhow to search a word in word document and capture the immediate next word and insert it into the DB Pin
Ferdin9-Mar-09 19:33
Ferdin9-Mar-09 19:33 
AnswerRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Mycroft Holmes9-Mar-09 21:18
professionalMycroft Holmes9-Mar-09 21:18 
GeneralRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Ferdin9-Mar-09 21:34
Ferdin9-Mar-09 21:34 
GeneralRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Mycroft Holmes9-Mar-09 23:24
professionalMycroft Holmes9-Mar-09 23:24 
QuestionRecursion logic and performance tuning Pin
Mathew Hall9-Mar-09 19:08
Mathew Hall9-Mar-09 19:08 
QuestionKill the DLL Pin
yesu prakash9-Mar-09 18:47
yesu prakash9-Mar-09 18:47 
AnswerRe: Kill the DLL Pin
User 23822929-Mar-09 19:13
User 23822929-Mar-09 19:13 
GeneralRe: Kill the DLL Pin
yesu prakash9-Mar-09 19:20
yesu prakash9-Mar-09 19:20 
AnswerRe: Kill the DLL Pin
Dragonfly_Lee9-Mar-09 19:31
Dragonfly_Lee9-Mar-09 19:31 
Questionproject doubt Pin
vinithakizhussery9-Mar-09 18:31
vinithakizhussery9-Mar-09 18:31 
AnswerRe: project doubt Pin
Christian Graus9-Mar-09 18:42
protectorChristian Graus9-Mar-09 18:42 
AnswerRe: project doubt Pin
yesu prakash9-Mar-09 18:56
yesu prakash9-Mar-09 18:56 
AnswerRe: project doubt Pin
yesu prakash9-Mar-09 19:14
yesu prakash9-Mar-09 19:14 
AnswerRe: project doubt Pin
Dragonfly_Lee9-Mar-09 19:33
Dragonfly_Lee9-Mar-09 19:33 
AnswerRe: project doubt Pin
0x3c09-Mar-09 20:44
0x3c09-Mar-09 20:44 

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.