West Wind Web Store .NET 2.0
|
wwBusiness.Execute
|
Use this method for any operations that require custom SQL. This method will use the internal Data member to retrieve the data from the backend and store it into a Table in the internal DataSet.
public int Execute( string Sql, string Tablename );
Tablename
Name of the table in the internal DataSet that is created.
// *** Inside of the business object
busCustomer Customer = new busCustomer();
if (Customer.Execute("select pk,company,lastname,first from " + Customer.Tablename + " order by Company where ");Overloads:
Last Updated: 3/7/2007 |
Send topic feedback