cpattin
Messages postés22Date d'inscriptionmercredi 23 mai 2007StatutMembreDernière intervention18 juin 2007
-
18 juin 2007 à 12:49
cs_casy
Messages postés7741Date d'inscriptionmercredi 1 septembre 2004StatutMembreDernière intervention24 septembre 2014
-
18 juin 2007 à 14:01
Public
Shared
Function
résultatCalculs(
ByVal
longueurSep
As
System.Decimal,
ByVal
largeurSep
As
System.Decimal,
ByVal
epaisseurSep
As
System.Decimal)
As
Emballage_DS.ResultatCalculDataTable
Dim
dt
As
New
Emballage_DS.ResultatCalculDataTable
Dim
dsParam
As
New
Emballage_DS dsParam.ReadXml(
"F:\dotnet\paramDatas.xml"
)
For
Each
cartonRow
As
Emballage_DS.CartonsRow
In
dsParam.Cartons.Rows
For
Each
intercalaireRow
As
Emballage_DS.IntercalairesRow
In
dsParam.Intercalaires.Rows
Dim
resultatcalculrow
As
Emballage_DS.ResultatCalculRow = dt.NewResultatCalculRow
Dim
resultatcalculrow2
As
Emballage_DS.ResultatCalculRow = dt.NewResultatCalculRow
If
resultatcalculrow.nbSepCart <> 0
Or
resultatcalculrow2.nbSepCart <> 0
Then
dt.AddResultatCalculRow(resultatcalculrow)
dt.AddResultatCalculRow(resultatcalculrow2)
Else 'je voudrais ne pas afficher la ligne et passer à la suivante
jrivet
Messages postés7392Date d'inscriptionmercredi 23 avril 2003StatutMembreDernière intervention 6 avril 201260 18 juin 2007 à 12:57
Salut à toi aussi
, (autant de politesse m'émeuh)
Mais c'est de mieux en mieux...
Tu sais que le plus tu en dis sur ton problème le plus on pourras t'aider...
La nous ne sommes pas ton debuggueur ou bien un fournisseur de Snippets (codyx Powa)