Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl Clear function
|
|
Re: ArrayCtrl Clear function [message #17490 is a reply to message #17487] |
Sun, 17 August 2008 21:14   |
TeCNoYoTTa
Messages: 138 Registered: July 2008 Location: Egypt
|
Experienced Member |

|
|
may be the error in this code
void Two_B_DN::Send_list() {
list_items.GoEnd();
String xmlfile = "<root>";
PromptOK(IntStr(list_items.GetCount()));
for (int i=0;i<list_items.GetCount();i++) {
xmlfile += "<item>";
xmlfile += AddTag(list_items.Get(i,0).ToString(),"title");
xmlfile += AddTag(IntStr(droplist_status.Find(list_items.Get(i,1))),"status");
xmlfile += AddTag(IntStr(droplist_priorty.Find(list_items.Get(i,2))),"priorty");
xmlfile += AddTag(IntStr(droplist_persons.Find(list_items.Get(i,3))),"person");
xmlfile += "</item>";
}
xmlfile += "</root>";
//SaveFile("data.xml",xmlfile);
client.URL("http://www.cisclub.com/tecno/");
client.Method(HttpClient::METHOD_POST);
client.AddHeaders("Content-Type: application/x-www-form-urlencoded\r\n");
HttpQuery message;
message.SetString("data",xmlfile);
client.PostData(message.GetQuery(true));
pro.SetText("please wait ....Sending");
String respond = client.Execute(pro);
client.Close();
pro.Close();
//SaveFile("respond.html",respond);
}
[Updated on: Sun, 17 August 2008 21:15] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri May 09 09:40:51 CEST 2025
Total time taken to generate the page: 0.02750 seconds
|