Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter arrays
Message
 
To
14/07/2003 15:14:40
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00809965
Message ID:
00809970
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform