Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do While Seek()... Enddo
Message
De
11/01/2007 18:31:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/01/2007 17:57:34
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01184819
Message ID:
01184848
Vues:
17
I think you meant:

int i = 0;

Cetin

>or:
>
>
>        int i = 1;
>        do	
>	{
>		i++;
>	}
>        while (SEEK(i, "testTbl", "testInx"))
>
>	return i;
>
>
>
>>>Is there an simple elegant way to do the following in C#?
>>>
>>>
>>>i=1
>>>DO WHILE SEEK(i, 'testTbl', 'testInx')
>>>    i = i + 1
>>>ENDDO
>>>
>>>RETURN i
>>>
>>>
>>>TIA
>>
>>
>>private int fubar()
>>{
>>	int i = 1;
>>	while (SEEK(i, "testTbl", "testInx"))
>>	{
>>		i++;
>>	}
>>	return i;
>>}
>>
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform