Page 1 of 1

how do I get product_id on an Add

Posted: Wed Mar 23, 2011 7:37 pm
by RickSilver
How do I get the product_id when adding a new product. Does _Product.Save() return it?

Re: how do I get product_id on an Add

Posted: Thu Mar 24, 2011 11:44 am
by AbleMods
After _Product.Save() is called, the _Product.ProductId value is populated with the identity value. Just reference _Product.ProductId