Click here to Skip to main content
12,828,403 members (46,740 online)
   

C#

 
AnswerRe: reporting Pin
Abhinav S7-Apr-13 19:17
mvpAbhinav S7-Apr-13 19:17 
Questionfor c# dot net help Pin
Member 99691976-Apr-13 5:11
memberMember 99691976-Apr-13 5:11 
QuestionRe: for c# dot net help Pin
Kenneth Haugland6-Apr-13 5:13
professionalKenneth Haugland6-Apr-13 5:13 
Questionhow other website xml file use in our website Pin
anghan226-Apr-13 1:43
memberanghan226-Apr-13 1:43 
string Data = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>" +
"<request>" +
"<header>" +
"<username>awesome</username>" +
"<password>xmlrocks</password>" +
"</header>" +
"<body>" +
"<shape>round</shape>" +
"</body>" +
"</request>";

string URL = "https://technet.rapaport.com/HTTP/SimpleXML/Prices/GetPriceSheet.aspx";
WebRequest webRequest = WebRequest.Create(URL);
webRequest.Method = "POST";
webRequest.ContentType = "application/x-www-form-urlencoded";
Stream reqStream = webRequest.GetRequestStream();
string postData = Data;
byte[] postArray = Encoding.ASCII.GetBytes(postData);
reqStream.Write(postArray, 0, postArray.Length);
reqStream.Close();
StreamReader sr = new StreamReader(webRequest.GetResponse().GetResponseStream());
string Result = sr.ReadToEnd();
QuestionRe: how other website xml file use in our website Pin
Richard MacCutchan6-Apr-13 2:49
mvpRichard MacCutchan6-Apr-13 2:49 
QuestionRe: how other website xml file use in our website Pin
@AmitGajjar6-Apr-13 3:28
member@AmitGajjar6-Apr-13 3:28 
AnswerRe: how other website xml file use in our website Pin
anghan226-Apr-13 3:36
memberanghan226-Apr-13 3:36 
AnswerRe: how other website xml file use in our website Pin
@AmitGajjar6-Apr-13 3:52
member@AmitGajjar6-Apr-13 3:52 
GeneralRe: how other website xml file use in our website Pin
anghan226-Apr-13 18:39
memberanghan226-Apr-13 18:39 
GeneralRe: how other website xml file use in our website Pin
Pete O'Hanlon6-Apr-13 23:30
protectorPete O'Hanlon6-Apr-13 23: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.


Advertise | Privacy | Mobile
Web01 | 2.8.170326.1 | Last Updated 29 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid