Click here to Skip to main content
15,902,198 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiondata tranfer in ASP.net(visual studio 2003,C#) Pin
Arpita2722-Feb-09 22:20
Arpita2722-Feb-09 22:20 
AnswerRe: data tranfer in ASP.net(visual studio 2003,C#) [modified] Pin
Greg Chelstowski22-Feb-09 22:38
Greg Chelstowski22-Feb-09 22:38 
GeneralRe: data tranfer in ASP.net(visual studio 2003,C#) Pin
Anurag Gandhi22-Feb-09 23:34
professionalAnurag Gandhi22-Feb-09 23:34 
GeneralRe: data tranfer in ASP.net(visual studio 2003,C#) Pin
Greg Chelstowski23-Feb-09 1:04
Greg Chelstowski23-Feb-09 1:04 
GeneralRe: data tranfer in ASP.net(visual studio 2003,C#) Pin
Anurag Gandhi23-Feb-09 1:11
professionalAnurag Gandhi23-Feb-09 1:11 
AnswerRe: data tranfer in ASP.net(visual studio 2003,C#) Pin
Sneha Bisht23-Feb-09 2:57
Sneha Bisht23-Feb-09 2:57 
AnswerRe: data tranfer in ASP.net(visual studio 2003,C#) Pin
Arpita2723-Feb-09 20:06
Arpita2723-Feb-09 20:06 
GeneralRe: data tranfer in ASP.net(visual studio 2003,C#) Pin
Greg Chelstowski23-Feb-09 21:25
Greg Chelstowski23-Feb-09 21:25 
Yes you can use this code in Windows Forms, for the most part.
As there is no
Server.MapPath
class in Windows Forms you have to find a different way of pointing to the Excel spreadsheet (as in, provide the application with the physical path to your .xls file).

This is an ASP.NET forum, that's how i gathered you were using WebForms.
So it should really be:
string PathToFile = ""; // add your path here
OleDbConnection conn = new OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;data source="+PathToFile+";extended properties=Excel 8.0");


var question = (_2b || !(_2b));

QuestionHow to make a context menu to JQGrid ? Pin
Denver Thomas22-Feb-09 22:07
Denver Thomas22-Feb-09 22:07 
AnswerRe: How to make a context menu to JQGrid ? Pin
lobbychmd22-Feb-09 22:44
lobbychmd22-Feb-09 22:44 
QuestionCreating a ASP.NET web site in a team for the first time Pin
Clifweb22-Feb-09 21:56
Clifweb22-Feb-09 21:56 
AnswerRe: Creating a ASP.NET web site in a team for the first time Pin
Christian Graus22-Feb-09 22:06
protectorChristian Graus22-Feb-09 22:06 
QuestionRe: Creating a ASP.NET web site in a team for the first time Pin
Clifweb22-Feb-09 22:15
Clifweb22-Feb-09 22:15 
AnswerRe: Creating a ASP.NET web site in a team for the first time Pin
Christian Graus23-Feb-09 8:51
protectorChristian Graus23-Feb-09 8:51 
QuestionEnterprise library 4.0 -Localized Validation message Pin
Shivaji Shitole22-Feb-09 21:39
Shivaji Shitole22-Feb-09 21:39 
QuestionThe type or namespace name 'ScriptManager' does not exist in the namespace 'System.Web.UI' Pin
Member 387988122-Feb-09 21:37
Member 387988122-Feb-09 21:37 
AnswerRe: The type or namespace name 'ScriptManager' does not exist in the namespace 'System.Web.UI' Pin
Christian Graus22-Feb-09 21:47
protectorChristian Graus22-Feb-09 21:47 
GeneralRe: The type or namespace name 'ScriptManager' does not exist in the namespace 'System.Web.UI' Pin
Member 387988122-Feb-09 22:06
Member 387988122-Feb-09 22:06 
AnswerRe: The type or namespace name 'ScriptManager' does not exist in the namespace 'System.Web.UI' Pin
adriancs8-Jul-14 18:54
mvaadriancs8-Jul-14 18:54 
Questionhow to make web site using asp.net Pin
poo_naveen22-Feb-09 20:55
poo_naveen22-Feb-09 20:55 
AnswerRe: how to make web site using asp.net Pin
Christian Graus22-Feb-09 21:00
protectorChristian Graus22-Feb-09 21:00 
QuestionEncrypt connection string with RsaProtectedConfigurationProvider Pin
farogh haider22-Feb-09 20:40
farogh haider22-Feb-09 20:40 
Questionasp.net2.0 that runs store procedure in back end. [modified] Pin
senthil_becse22-Feb-09 20:34
senthil_becse22-Feb-09 20:34 
AnswerRe: asp.net2.0 that runs store procedure in back end. Pin
farogh haider22-Feb-09 20:44
farogh haider22-Feb-09 20:44 
AnswerRe: asp.net2.0 that runs store procedure in back end. Pin
Abhishek Sur22-Feb-09 20:44
professionalAbhishek Sur22-Feb-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.