| Author: Nagarajan 04 Aug 2008 | Member Level: Gold | Rating: Points: 4 |
Try the below, i doubt the problemmight be with "()", replace it with [] because () says a class intialization , [] says a array declaration
cart_provider[] session_pid = new cart_provider[Convert.ToInt32(Session["product_id"])];
|
| Author: suren kamana 04 Aug 2008 | Member Level: Silver | Rating: Points: 3 |
hi try this code cart_provider[] session_pid = new cart_provider[(int32)Session["product_id"]]; I think this will work please tel me whether i was correct or not.
|