Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
GeneralRe: Excel Questions Pin
MumbleB10-Mar-09 0:43
MumbleB10-Mar-09 0:43 
Questionexcel addin doubt Pin
abhiram_nayan9-Mar-09 21:37
abhiram_nayan9-Mar-09 21:37 
Questionhow to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 21:23
Ramin Rahimee9-Mar-09 21:23 
AnswerRe: how to delay sending mail in c# Pin
Mycroft Holmes9-Mar-09 21:27
professionalMycroft Holmes9-Mar-09 21:27 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 21:35
Ramin Rahimee9-Mar-09 21:35 
GeneralRe: how to delay sending mail in c# Pin
N a v a n e e t h9-Mar-09 21:47
N a v a n e e t h9-Mar-09 21:47 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 22:54
Ramin Rahimee9-Mar-09 22:54 
GeneralRe: how to delay sending mail in c# Pin
Christian Graus9-Mar-09 22:02
protectorChristian Graus9-Mar-09 22:02 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 22:52
Ramin Rahimee9-Mar-09 22:52 
GeneralRe: how to delay sending mail in c# Pin
Dave Kreskowiak10-Mar-09 1:29
mveDave Kreskowiak10-Mar-09 1:29 
GeneralRe: how to delay sending mail in c# Pin
Rob Philpott9-Mar-09 23:14
Rob Philpott9-Mar-09 23:14 
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 

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.