Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating a Product List

Status
Not open for further replies.

kwagz

Programmer
Oct 11, 2004
10
ZA
I am trying to update a Product with data that is read from SQL database. When i use code below it returns "Application error" error. I am coding this application in C#. Please help.

...
...
ProductList pLookup;

pLookup = ACTAPP.ActFramework.Products.GetProducts(null);

pLookup[index].Name = ProductName;
pLookup[index].Price = ProductPrice;
pLookup[index].Cost = ProductCost;

newProduct.SetData(pLookup[index].Cost);
...
...

I am coding in C#
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top