| Alessandro Verdoni |
Problema con il [Data]grid...
Non funziona... qualcuno mi da una mano?
Function Cuoci() as Boolean Dim daCuoco as New Dataadapter Dim dsBistecca as New Dataset Dim dgBarbecue as New Datagrid Dim Legna as Integer Dim T1, T2 as Timer Dim Cotta as Boolean daCuoco.Fill(dsBistecca, "Alsangue") dgBarbecue.Datasource=dsBistecca bind dgBarbecue T1=Timer Try Do Until NOT Cotta T2=Timer If (T2-T1) > 300000 then Cotta=True End If ElseIf (T2-T1)\60000=0 then Legna+=1 End If Loop Return True Catch Msgbox("Hai bruciato tutto!") Return False End Function |
| Gianluca Carucci |
Re: Problema con il [Data]grid...
Sei offtopic!!! Per questi argomenti esiste il newsgroup it.hobby.cucina:P
|
| Giovanni Nalesso |
Re: Problema con il [Data]grid...
Guarda, conosco una libreria a pagamento per la cosa.
Si chiama Restaurant e ti forniscono tutta una serie di moduli che fanno al tuo caso ^_^ Quello che serve a te è il Secondo.dll A quel punto con il namespace Secondo.Carne e dovresti trovare la classe Bistecca che va da Dio! Ti riporto l'esempio che ti potrebbe fare comodo =p using Secondo.Carne Bistecca bistecca = new Bistecca(); bistecca.cottura = Cotture.AlSangue; bistecca.Servi(); Come vedi l'utilizzo è facilissimo, l'unico inconveniente è che chiedono una licenza ad utilizzo =\ Saluti! ^_^ Giò |