Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter arrays
Message
De
14/07/2003 15:48:20
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00809965
Message ID:
00809976
Vues:
32
David,

This example shows 1 parameter, I am looking for several parameters in an array.

Thanks

Rex

>This uses FillDataSet, but just replace that with GetDataSet
>
>
>public virtual DataSet GetOrderByPK(int orderId, String tableName)
>{
>
>DataSet dsOrders = this.GetCurrentDataSet();
>
>String sql = "SELECT Orders.* FROM  Orders WHERE uOrdID = @uOrdID ";
>mmDataAccessBase dao = this.GetDataAccessObject();
>IDbDataParameter param = dao.CreateParameter("@uOrdID", orderId);
>
>this.FillDataSet(dsOrders,sql,tableName,param);
>return dsOrders;
>}
>
>
>>All,
>>
>>Can I get an example of the GetDataSet method of mmBusinessObject using an iDbDataParameter array?
>>
>>Thanks
>>
>>Rex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform