Click here to Skip to main content
15,920,896 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: capturing a snapshot via webcam Pin
sandhya141-Jan-09 20:19
sandhya141-Jan-09 20:19 
GeneralRe: capturing a snapshot via webcam Pin
N a v a n e e t h1-Jan-09 20:38
N a v a n e e t h1-Jan-09 20:38 
AnswerRe: capturing a snapshot via webcam Pin
Aman Bhullar1-Jan-09 20:20
Aman Bhullar1-Jan-09 20:20 
GeneralRe: capturing a snapshot via webcam Pin
sandhya141-Jan-09 22:22
sandhya141-Jan-09 22:22 
GeneralRe: capturing a snapshot via webcam Pin
Aman Bhullar2-Jan-09 1:01
Aman Bhullar2-Jan-09 1:01 
GeneralRe: capturing a snapshot via webcam Pin
sandhya144-Jan-09 17:45
sandhya144-Jan-09 17:45 
GeneralRe: capturing a snapshot via webcam Pin
Aman Bhullar5-Jan-09 4:31
Aman Bhullar5-Jan-09 4:31 
QuestionStore file in particular location Pin
B871-Jan-09 18:54
B871-Jan-09 18:54 
Hi friends,
I am using the following code to read a table and store the table as a text file it works fine but i want to store the text file in a specific location according to need,any function to do it?By default it is storing in desktop how to change it?


StringBuilder str = new StringBuilder();

for (int i = 0; i <= ds.Tables[0].Rows.Count - 1; i++)
{

for (int j = 0; j <= ds.Tables[0].Columns.Count - 1; j++)
{

str.Append(ds.Tables[0].Rows[i][j].ToString());
}

str.Append(Environment.NewLine);
}

Response.Clear();
Response.AddHeader("content-disposition",
"attachment;filename=FileName.m3u");
Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentType = "application/vnd.txt";

System.IO.StringWriter stringWrite = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
Response.Write(str.ToString());
Response.End();
AnswerRe: Store file in particular location Pin
N a v a n e e t h1-Jan-09 19:59
N a v a n e e t h1-Jan-09 19:59 
Questionhow to play video in asp.net 2.0 page Pin
yogesh_softworld1231-Jan-09 18:37
yogesh_softworld1231-Jan-09 18:37 
AnswerRe: how to play video in asp.net 2.0 page Pin
Brij1-Jan-09 18:49
mentorBrij1-Jan-09 18:49 
AnswerRe: how to play video in asp.net 2.0 page Pin
N a v a n e e t h1-Jan-09 19:56
N a v a n e e t h1-Jan-09 19:56 
QuestionVisitor's count Pin
reogeo20081-Jan-09 15:34
reogeo20081-Jan-09 15:34 
AnswerRe: Visitor's count Pin
N a v a n e e t h1-Jan-09 15:50
N a v a n e e t h1-Jan-09 15:50 
GeneralRe: Visitor's count Pin
reogeo20081-Jan-09 16:42
reogeo20081-Jan-09 16:42 
GeneralRe: Visitor's count Pin
N a v a n e e t h1-Jan-09 16:47
N a v a n e e t h1-Jan-09 16:47 
AnswerRe: Visitor's count Pin
Aman Bhullar1-Jan-09 18:19
Aman Bhullar1-Jan-09 18:19 
QuestionApplication Settings in Web projects Pin
Mohammad A Gdeisat1-Jan-09 10:41
Mohammad A Gdeisat1-Jan-09 10:41 
AnswerRe: Application Settings in Web projects Pin
N a v a n e e t h1-Jan-09 16:20
N a v a n e e t h1-Jan-09 16:20 
GeneralRe: Application Settings in Web projects Pin
Mohammad A Gdeisat2-Jan-09 2:29
Mohammad A Gdeisat2-Jan-09 2:29 
AnswerRe: Application Settings in Web projects Pin
Aman Bhullar1-Jan-09 18:21
Aman Bhullar1-Jan-09 18:21 
Questionhelp!!!! Pin
saadahmedsait1-Jan-09 8:25
saadahmedsait1-Jan-09 8:25 
AnswerStop spamming the forums! Pin
leckey1-Jan-09 12:53
leckey1-Jan-09 12:53 
GeneralRe: Stop spamming the forums! Pin
saadahmedsait1-Jan-09 20:49
saadahmedsait1-Jan-09 20:49 
AnswerRe: help!!!! Pin
Brij1-Jan-09 17:30
mentorBrij1-Jan-09 17:30 

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.