link button
-
how to open a excel using link button...
-
how to open a excel using link button...
Point to the XLS and hope that the user has Excel on their machine ?
Christian Graus Driven to the arms of OSX by Vista.
-
Point to the XLS and hope that the user has Excel on their machine ?
Christian Graus Driven to the arms of OSX by Vista.
REPORT I USED THIS CODE TO OPEN EXCEL SHEET... THE ABOVE EXCELL SHEET IS PRESENT IN MY PROJECT ITSELF.... I WANT TO JUST OPEN AND SEE THE EXCEL SHEET WHICH WAS LOCATED IN MY d:
-
REPORT I USED THIS CODE TO OPEN EXCEL SHEET... THE ABOVE EXCELL SHEET IS PRESENT IN MY PROJECT ITSELF.... I WANT TO JUST OPEN AND SEE THE EXCEL SHEET WHICH WAS LOCATED IN MY d:
kulandaivel_mca2007 wrote:
I WANT TO JUST OPEN AND SEE THE EXCEL SHEET WHICH WAS LOCATED IN MY d:
Don't shout. If the sheet is on your local drive, how is that a real world situation ? You may be able to link to it in your HTML, but how do you know what excel sheets will be on your users local drives ?
Christian Graus Driven to the arms of OSX by Vista.
-
kulandaivel_mca2007 wrote:
I WANT TO JUST OPEN AND SEE THE EXCEL SHEET WHICH WAS LOCATED IN MY d:
Don't shout. If the sheet is on your local drive, how is that a real world situation ? You may be able to link to it in your HTML, but how do you know what excel sheets will be on your users local drives ?
Christian Graus Driven to the arms of OSX by Vista.
u are right.... i have only the file name i have to open that how can do this...
-
u are right.... i have only the file name i have to open that how can do this...
protected void abc(object sender, EventArgs e) { //LinkButton lk = (LinkButton)sender; //Response.Redirect("default.aspx"); // Server.Transfer("default.aspx?ArtID=" + lnk.Text); // GridView gvr = (GridView)sender; LinkButton lb = new LinkButton(); lb = ((LinkButton)sender); string strUrl = "~\\aijaz\\" + lb.Text; Response.Redirect(strUrl); } call this on linkbutton onclick="abc"
-
protected void abc(object sender, EventArgs e) { //LinkButton lk = (LinkButton)sender; //Response.Redirect("default.aspx"); // Server.Transfer("default.aspx?ArtID=" + lnk.Text); // GridView gvr = (GridView)sender; LinkButton lb = new LinkButton(); lb = ((LinkButton)sender); string strUrl = "~\\aijaz\\" + lb.Text; Response.Redirect(strUrl); } call this on linkbutton onclick="abc"
u are giving solution for excel file present in my project... it is working fine.... but my requirement is opening the excel file present D:
-
u are giving solution for excel file present in my project... it is working fine.... but my requirement is opening the excel file present D:
http://www.codeproject.com/KB/aspnet/fileupload.aspx\[^\] It covers the following 6 areas- * How to set up a form for file uploading * How to receive uploaded files on the server side * How to save uploaded files to hard drive * How to save uploaded files in a database * How to retrieve a file that is stored in a database and return it to a client * Security considerations running the demo project