Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
while i am trying to create a shopping cart data-binding it is showing error like cannot find the name(Orice,Stock,shipped Registerclick not found) error.
public UpdateProduct:ProductContract{
Name:"",
Price:0,
Stock:false,
ShippedTo:""

}
public RegisterClick():void{
this.UpdateProduct=this.Product;
}

}


Error 2:
Here it is showing ngModel can't find the name error.

Name
Price
Stock
Available
Shipped To

Delhi

What I have tried:

It's shopping app(like FlipCart)while coding for databinding for a product ,i am getting the above errors.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900