Click here to Skip to main content
15,899,013 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Exporting to Excel Plz help [modified] Pin
Jeeva Mary Varghese13-Oct-06 20:54
Jeeva Mary Varghese13-Oct-06 20:54 
GeneralRe: Exporting to Excel Plz help Pin
steven_wong14-Oct-06 0:40
steven_wong14-Oct-06 0:40 
GeneralRe: Exporting to Excel Plz help Pin
Jeeva Mary Varghese18-Oct-06 2:15
Jeeva Mary Varghese18-Oct-06 2:15 
GeneralRe: Exporting to Excel Plz help Pin
steven_wong18-Oct-06 21:05
steven_wong18-Oct-06 21:05 
QuestionData Set Pin
shah zad12-Oct-06 0:42
shah zad12-Oct-06 0:42 
AnswerRe: Data Set Pin
_AK_12-Oct-06 0:51
_AK_12-Oct-06 0:51 
AnswerRe: Data Set Pin
rah_sin12-Oct-06 0:59
professionalrah_sin12-Oct-06 0:59 
QuestionA problem when using HttpWebRequest Pin
Robert Wang198311-Oct-06 23:48
Robert Wang198311-Oct-06 23:48 
private string GetWebContent()
{
string fullpath = @"http://www.google.com";
HttpWebRequest webreq = (HttpWebRequest)System.Net.WebRequest.Create(fullpath);
HttpWebResponse webresp = (HttpWebResponse)webreq.GetResponse();
StreamReader strm = new StreamReader(webresp.GetResponseStream(), Encoding.ASCII);
String text = strm.ReadToEnd();
strm.Close();
return text;
}

This is my code. it works well on my own computer, but when i put in my office computer, there is a WebException:
"The underlying connection was closed: Unable to connect to the remote server."

why? is it because the setting of firewall in the office server or something.

Thanks very muchLaugh | :laugh:
AnswerRe: A problem when using HttpWebRequest Pin
Vasudevan Deepak Kumar12-Oct-06 4:24
Vasudevan Deepak Kumar12-Oct-06 4:24 
GeneralRe: A problem when using HttpWebRequest Pin
Robert Wang198312-Oct-06 17:29
Robert Wang198312-Oct-06 17:29 
Questionconvert vb.net application to C# Pin
max_dev2006@yahoo.com11-Oct-06 23:06
max_dev2006@yahoo.com11-Oct-06 23:06 
AnswerRe: convert vb.net application to C# Pin
perlmunger12-Oct-06 4:17
perlmunger12-Oct-06 4:17 
AnswerRe: convert vb.net application to C# Pin
Dave Doknjas12-Oct-06 14:02
Dave Doknjas12-Oct-06 14:02 
Questionhow to check if string is int and return boolean Pin
max_dev2006@yahoo.com11-Oct-06 22:59
max_dev2006@yahoo.com11-Oct-06 22:59 
AnswerRe: how to check if string is int and return boolean Pin
rah_sin12-Oct-06 0:04
professionalrah_sin12-Oct-06 0:04 
AnswerRe: how to check if string is int and return boolean Pin
J4amieC12-Oct-06 0:13
J4amieC12-Oct-06 0:13 
GeneralRe: how to check if string is int and return boolean Pin
talk2rsoni12-Oct-06 4:14
talk2rsoni12-Oct-06 4:14 
AnswerRe: how to check if string is int and return boolean Pin
nlindley712-Oct-06 10:58
nlindley712-Oct-06 10:58 
GeneralRe: how to check if string is int and return boolean Pin
max_dev2006@yahoo.com12-Oct-06 18:28
max_dev2006@yahoo.com12-Oct-06 18:28 
Questiondelete a file from prticular location Pin
Deepak the Cool11-Oct-06 22:39
Deepak the Cool11-Oct-06 22:39 
AnswerRe: delete a file from prticular location Pin
Amit Agarrwal12-Oct-06 1:32
Amit Agarrwal12-Oct-06 1:32 
AnswerRe: delete a file from prticular location Pin
Guffa12-Oct-06 2:49
Guffa12-Oct-06 2:49 
QuestionListview pronblem Pin
dany.s11-Oct-06 22:10
dany.s11-Oct-06 22:10 
AnswerRe: Listview pronblem Pin
perlmunger12-Oct-06 4:32
perlmunger12-Oct-06 4:32 
AnswerRe: Listview pronblem Pin
minhpc_bk12-Oct-06 14:55
minhpc_bk12-Oct-06 14:55 

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.