Click here to Skip to main content
15,898,893 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Help Suggestion Pin
Deepak the Cool1-Jul-09 19:56
Deepak the Cool1-Jul-09 19:56 
GeneralRe: Help Suggestion Pin
KhandelwalA1-Jul-09 20:09
KhandelwalA1-Jul-09 20:09 
AnswerRe: Help Suggestion Pin
Abhijit Jana1-Jul-09 20:03
professionalAbhijit Jana1-Jul-09 20:03 
QuestionHow to comunicate Web Application and Windows Service Pin
Deepak the Cool1-Jul-09 19:26
Deepak the Cool1-Jul-09 19:26 
AnswerRe: How to comunicate Web Application and Windows Service Pin
Brij1-Jul-09 19:35
mentorBrij1-Jul-09 19:35 
GeneralRe: How to comunicate Web Application and Windows Service Pin
Deepak the Cool1-Jul-09 19:42
Deepak the Cool1-Jul-09 19:42 
GeneralRe: How to comunicate Web Application and Windows Service Pin
Brij1-Jul-09 19:53
mentorBrij1-Jul-09 19:53 
Questionget facebook html code Pin
maqromedia1-Jul-09 14:36
maqromedia1-Jul-09 14:36 
hi every body;

i create a project, i want get facebook any html page source code with c#.net code.

i try a this code;

-------------------------------------------------------------------------------------------------------------------------------

try
{
WebRequest request = WebRequest.Create(TextBox1.Text);
// If required by the server, set the credentials.
request.Credentials = CredentialCache.DefaultCredentials;
// Get the response.
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
// Display the status.
Console.WriteLine(response.StatusDescription);
// Get the stream containing content returned by the server.
Stream dataStream = response.GetResponseStream();
// Open the stream using a StreamReader for easy access.
StreamReader reader = new StreamReader(dataStream);
// Read the content.
string responseFromServer = reader.ReadToEnd();
// Display the content.
Console.WriteLine(responseFromServer);
// Cleanup the streams and the response.
reader.Close();
dataStream.Close();
response.Close();


TextBox2.Text = responseFromServer;

}
catch (Exception ex)
{
Response.Write("<script>alert('" + ex.Message + "')</script>");
}
-------------------------------------------------------------------------------------------------------------------------------

this code is running every web page but not running on facebook i think facebook need connect with code. this event possible or not possible?,

can you help me.
AnswerRe: get facebook html code Pin
Not Active1-Jul-09 17:53
mentorNot Active1-Jul-09 17:53 
GeneralRe: get facebook html code Pin
skipmano1-Jul-09 18:08
skipmano1-Jul-09 18:08 
GeneralRe: get facebook html code Pin
Abhijit Jana1-Jul-09 18:39
professionalAbhijit Jana1-Jul-09 18:39 
AnswerRe: get facebook html code Pin
Brij1-Jul-09 18:51
mentorBrij1-Jul-09 18:51 
Questionpassword recovery in asp.net 3.5 Pin
ashutosh_karna1-Jul-09 12:15
ashutosh_karna1-Jul-09 12:15 
AnswerRe: password recovery in asp.net 3.5 Pin
Christian Graus1-Jul-09 12:49
protectorChristian Graus1-Jul-09 12:49 
Questionasp.net with C# Pin
ssweetu1-Jul-09 10:06
ssweetu1-Jul-09 10:06 
AnswerRe: asp.net with C# Pin
Abhijit Jana1-Jul-09 10:17
professionalAbhijit Jana1-Jul-09 10:17 
AnswerRe: asp.net with C# Pin
Christian Graus1-Jul-09 12:25
protectorChristian Graus1-Jul-09 12:25 
QuestionDropdownlist Pin
mahichandu1-Jul-09 7:57
mahichandu1-Jul-09 7:57 
AnswerRe: Dropdownlist Pin
Not Active1-Jul-09 8:16
mentorNot Active1-Jul-09 8:16 
GeneralRe: Dropdownlist Pin
mahichandu1-Jul-09 8:19
mahichandu1-Jul-09 8:19 
GeneralRe: Dropdownlist Pin
Not Active1-Jul-09 8:34
mentorNot Active1-Jul-09 8:34 
QuestionHow to push down the footer to bottom in master page Pin
meeram3951-Jul-09 6:35
meeram3951-Jul-09 6:35 
AnswerRe: How to push down the footer to bottom in master page Pin
Not Active1-Jul-09 8:20
mentorNot Active1-Jul-09 8:20 
AnswerRe: How to push down the footer to bottom in master page Pin
Abhijit Jana1-Jul-09 8:32
professionalAbhijit Jana1-Jul-09 8:32 
GeneralRe: How to push down the footer to bottom in master page Pin
Not Active1-Jul-09 8:38
mentorNot Active1-Jul-09 8:38 

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.