Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
TeCNoYoTTa is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Remove column of arrayCtrl? ok!
Next Topic: empty array ctrl
Goto Forum:
  


Current Time: Sat Aug 23 22:46:27 CEST 2025

Total time taken to generate the page: 0.03635 seconds