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 » U++ SQL » sql + editstring
sql + editstring [message #32347] Tue, 10 May 2011 15:48 Go to previous message
begnur is currently offline  begnur
Messages: 6
Registered: May 2011
Location: Turkmenistan
Promising Member
how to pass WString from EditString to Sql and from Sql To EditString

for example (below exmaples are only for demonstration I need how to do this. and again characters are non ascii

EditString editstr
 String s = editstr->GetString()
// s contains "þþþýýçç" , database contains p,q,r where p,q,r as string
Sql sql
sql * Select(p).From(databse).Where(q = s)

// clearing s string
s.Clear();
while(sql.Fetch())
   s.Append(sql[p]);

editstr->SetString(s);



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sqlite Delete not working [SOLVED]
Next Topic: More .sch files?
Goto Forum:
  


Current Time: Sat Apr 27 17:19:05 CEST 2024

Total time taken to generate the page: 0.03883 seconds