Forums for you Fast forums in a simple way
 Registrati
user
password
 


Home->it.comp.programmare.win32
Rispondi  Torna al forum Notizie

Re: ListBox->STream


  • Subject: Re: ListBox->STream
  • From: voglioimparare
  • Data: Fri, 25 Jul 2008 09:50:04 -0700 (PDT)
  • Newsgroups: it.comp.programmare.win32


On 25 Lug, 13:32, "Stefano Frosio"
<stefanofrosioNIENTES...@GRAZIEgmail.com> wrote:
> > Ho creato il mio ciclo all'interno dell'oggetto TStringList ma
> > come
> > faccio a passare le 3 righe alla lista?
>
>     for (int i = 0; i < ListBox2->Items->Count; i += 3)
>     {
>         try
>         {
>             AnsiString SQL = ListBox2->Items->Strings[i];
>             SQL += ListBox2->Items->Strings[i + 1];
>             SQL += ListBox2->Items->Strings[i + 2];
>             // esegui SQL
>         }
>         catch (...) { }
>     }
>
> HTH,
>
> --
> Stefano Frosiowww.esse-effe.com

grazie mille del consiglio
ma ora una volta eseguita la mia Query dovrei
eseguire la successiva sulle prossime 3 righe dovrei fare una altro
ciclo a monte
queste sarebbero le mie query
UPDATE TABELLA SET
    CAMPO1 = 55
WHERE (CAMPO_KEY = '0271221    ');
UPDATE TABELLA SET
    CAMPO1 = 58
WHERE (CAMPO_KEY = '0273080    ');
UPDATE TABELLA SET
    CAMPO1 = 1111
WHERE (CAMPO_KEY = '0357280    ');
UPDATE TABELLA SET
   CAMPO1 = 1111
WHERE (CAMPO_KEY = '0368010    ');
UPDATE TABELLA SET
    CAMPO1 = 123
WHERE (CAMPO_KEY = '9389894    ');
in questo modo eseguo la prima query di 3 righe (0-1-2)
come faccio a mettergli l'altro ciclo a monte di questo che poi mi
passi alla riga 3-4-5
grazie ancora


Subject Mittente Data
ListBox->STream# ListBox->STream voglio... 24/07/2008
ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Stefan... 25/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Stefan... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Stefan... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Andrea... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Andrea... 27/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream\# Re: ListBox->STream Raffae... 27/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Stefan... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream Raffae... 26/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream\# Re: ListBox->STream Stefan... 27/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream voglio... 25/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream# Re: ListBox->STream voglio... 25/07/2008
ListBox->STreamRe: ListBox->STreamRe: ListBox->STreamRe: ListBox->STream\# Re: ListBox->STream Stefan... 25/07/2008


Torna a...>Re: ListBox->STream
Cerca "Re: ListBox->STream" con Gooogle SiteSearch
Google
 
Web www.forumsforyou.com







ForumsForYou non è responsabile dei contenuti degli articoli che vengono inseriti dagli utenti via rete Usenet e che quindi vengono pubblicati di conseguenza sul nostro news server. Si vieta l'utilizzo delle email allegate nei vari articoli per l'invio di mail non richieste.

Copyright 2006 Powered by JTechnology s.r.l. All rights reserved.