Click here to Skip to main content
15,881,172 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: webservice Pin
Abhishek Sur5-Sep-09 10:46
professionalAbhishek Sur5-Sep-09 10:46 
Questionhow to select first several datarow from a dataset, and how to create a dataset from datarow? Pin
Seraph_summer5-Sep-09 9:35
Seraph_summer5-Sep-09 9:35 
AnswerRe: how to select first several datarow from a dataset, and how to create a dataset from datarow? Pin
Abhishek Sur5-Sep-09 10:16
professionalAbhishek Sur5-Sep-09 10:16 
GeneralRe: how to select first several datarow from a dataset, and how to create a dataset from datarow? Pin
Seraph_summer5-Sep-09 11:16
Seraph_summer5-Sep-09 11:16 
GeneralRe: how to select first several datarow from a dataset, and how to create a dataset from datarow? Pin
Abhishek Sur5-Sep-09 12:07
professionalAbhishek Sur5-Sep-09 12:07 
Questiondownloadable files Pin
hasani20075-Sep-09 7:35
hasani20075-Sep-09 7:35 
AnswerRe: downloadable files Pin
Manas Bhardwaj5-Sep-09 7:40
professionalManas Bhardwaj5-Sep-09 7:40 
AnswerRe: downloadable files Pin
Abhishek Sur5-Sep-09 7:54
professionalAbhishek Sur5-Sep-09 7:54 
Well... If the folder that contains the files is within your virtual directory path then you can use it directly.

But remember, This means you are going to open the link for everyone.. Anyone who doesnt have login even can download the file.

Rather than doing so, I like to have files in a secured folder (Say D:\secret) where my website is running in another path(say C:\MyWebSite), or rather files are in another file server which is within the same network say (\\server2\files)

Now when the user clicks on a link, the Onclick Event handler will transmit the file to the client using

Response.TransmitFile().

Rose | [Rose]

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

QuestionUser control with ListView and event wiring. Pin
CodeProjectNeil5-Sep-09 5:51
CodeProjectNeil5-Sep-09 5:51 
AnswerRe: User control with ListView and event wiring. Pin
Abhishek Sur5-Sep-09 10:30
professionalAbhishek Sur5-Sep-09 10:30 
QuestionTreeView - Load/Save XMLDataSource Pin
krishy195-Sep-09 4:59
krishy195-Sep-09 4:59 
AnswerRe: TreeView - Load/Save XMLDataSource Pin
Arindam Sinha5-Sep-09 5:44
Arindam Sinha5-Sep-09 5:44 
QuestionHave the HTML output Pin
behnam-s5-Sep-09 4:12
behnam-s5-Sep-09 4:12 
AnswerRe: Have the HTML output Pin
Manas Bhardwaj5-Sep-09 6:36
professionalManas Bhardwaj5-Sep-09 6:36 
AnswerRe: Have the HTML output Pin
Abhishek Sur5-Sep-09 8:19
professionalAbhishek Sur5-Sep-09 8:19 
GeneralRe: Have the HTML output Pin
behnam-s6-Sep-09 4:38
behnam-s6-Sep-09 4:38 
GeneralRe: Have the HTML output Pin
Abhishek Sur6-Sep-09 22:29
professionalAbhishek Sur6-Sep-09 22:29 
QuestionA Query Pin
mehrdadc485-Sep-09 2:59
mehrdadc485-Sep-09 2:59 
AnswerRe: A Query Pin
Abhijit Jana5-Sep-09 3:01
professionalAbhijit Jana5-Sep-09 3:01 
GeneralRe: A Query Pin
mehrdadc485-Sep-09 3:28
mehrdadc485-Sep-09 3:28 
AnswerRe: A Query Pin
Manas Bhardwaj5-Sep-09 3:04
professionalManas Bhardwaj5-Sep-09 3:04 
GeneralRe: A Query Pin
mehrdadc485-Sep-09 3:08
mehrdadc485-Sep-09 3:08 
GeneralRe: A Query Pin
Manas Bhardwaj5-Sep-09 3:12
professionalManas Bhardwaj5-Sep-09 3:12 
AnswerRe: A Query Pin
Blue_Boy5-Sep-09 5:28
Blue_Boy5-Sep-09 5:28 
Questionbind data from textboxes to griview Pin
Flavia A5-Sep-09 0:31
Flavia A5-Sep-09 0:31 

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.