|
Hi,
If you want to retrive the uploaded file.... use anchor tag and place the file path in the href attribute of the achor tag.
<a href="uploads/myfile.doc">My File</a>
Regards,
Pavan.
-- modified at 4:37 Monday 20th November, 2006
|
|
|
|
|
That depends on the type of the file, for example if u uploaded an image and u wantto display it u add an image tag to your webform and fill the ImageUrl property with the path of the image u saved on ur web server and so on
Best Regards
3ala2
|
|
|
|
|
My file types are usually doc or excel files. How I will handle it? Thanks
|
|
|
|
|
what do u want to do with them?
download them?
Best Regards
3ala2
|
|
|
|
|
There is an option to download or for viewing. Thanks in advance.
|
|
|
|
|
where did u save the path of the uploaded folder?
Best Regards
3ala2
|
|
|
|
|
Hi.. I save the uploaded files at C:\Inetpub\wwwroot\Test\Data
|
|
|
|
|
i c
google something about server.mappath
u can create a hyperlink and make the href property as the "virtual path" for ur file
this way it will prompt downloading when u click on it
Best Regards
3ala2
|
|
|
|
|
Hi my friends , i am doing my senior project on developing a dinamic web site which comprises chat and forum program.And i am doing it using ASP.net. Now i have to know about socket program to develop the chat room.So,anyone who has an idea about the"socket programming" and where to find a brief description about it will let me know please.
Cheers!!!!!!!
Thanks guys. 
|
|
|
|
|
|
HI all
I have URL which corresponds to the javascript file i want to store that file on my machine please tell me how to do it
URL is like
http://www.WebsiteName.com/ccpmweb/shared/document/svgRatesData.js
how to save that svgRatesData.js file on my machine
|
|
|
|
|
i have done with HttpRequest and httpWebResponse by getting response.
resStream = response.GetResponseStream();
_streamReader = new StreamReader(resStream);
string file=_streamReader.ReadToEnd();
StreamWriter sw=new StreamWriter(@"C:\NUnit\file.js");
sw.Write(file);
sw.Close();
But it is taking time to read from StreamReader as file is of 550 Kb Do anyone know any efficient way to download the file in less time
|
|
|
|
|
Use the file upload control and the command SaveAs
keep Learning and you never will be out of date...
|
|
|
|
|
CAn any one tell this problem's solution???
Here i have panel probelm,that i am using 3 panels belongs to 3 different forms and the data should be inserted into 3 different tables in the database.
Here my problem is,is it possible to insert the data at a time in three tables like in VB.
I have single add,edit and save buttons for these panels.CAn we move automatically to the next panel???
thanks in advance
kissy
|
|
|
|
|
Kissy16 wrote: is it possible to insert the data at a time in three tables like in VB
YES...Use ADO.NET for this.
Kissy16 wrote: CAn we move automatically to the next panel???
You can use a button like on button click, show 1st panel and hide the rest and if clicked again, show 2nd panel and hide rest. It purely depends on your logic what u want to achieve.
In future plz try to elaborate your problem more.
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
hi guys
i am creating folder thru asp.net with help of
system.io.directory.createdirectroy()
now i want to rename directory name....but this doesnt have inbuilt rename method. so if any one has done it before please help me.....
Regards,
DJ Rock
|
|
|
|
|
suppose ur file is located at c:\ with name 'rashida.txt'
u want to rename this file to 'rashida-1.txt'
then use
Directory.Move("C:\rashida.txt", "C:\rashida-1.txt");
this will rename ur file
thought it'll cut ur file and paste there with different name but u can rename the file in this way
|
|
|
|
|
Use System.IO.Directory.Move
System.IO.Directory.Move("oldFolder","newFolder")
|
|
|
|
|
Hi all
I my asp .net web application (vb .net as code behind) i've used sql server as back end..
I want to know that is it possible to store an output of the sql command without/with using any controls..
My code snippet is,
cmd = New SqlCommand("SELECT Sum(prod_qty) as Quantity FROM bill_main_proddetails WHERE bill_date >= '2006/10/01' AND bill_date <= '2006/11/30' and prod_id='P0007'", cn)
I need the output of the command in a variable
Thanks in advance
|
|
|
|
|
You need to use DataReader or Dataset for this
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
string templateno=Session["templateid"].ToString();
txttemplate.Text = templateno;
cmd = new SqlCommand("select price from template_master where templateid='" + templateno + "'", conn);
conn.Open();
string price = cmd.ExecuteScalar().ToString();
conn.Close();
use ExecuteScalar to execute single row
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
How can update home page (photos or contents)in run time
|
|
|
|
|
How can I implement formatting tools in a webpage using asp.net
|
|
|
|
|
hello technicals
i m ajay.
i have a problem related to asp.net debugging.
when i m running my project,i left with "error while trying to run the project:unable to start debugging on web server.The project is not configured to be debugged."
i have tried the microsoft article "306156".But it does not solve my problem.
i have the web.config file in which debug is true.
i m also the member of debugger users group.
although i login frm administrator and chk it.
then also i m getting the same error.
wht could be the reason.
plz help.....
thanks in advance
|
|
|
|
|
create the virtual directory of the project in IIS
hope this wud resolve ur problem
|
|
|
|