Esempio n. 1
0
 protected void displayPrice(int pid3)
 {
     Laptop l3 = new Laptop(pid3);
     Response.Write(String.Format("{0:C}", l3.Price));
 }
Esempio n. 2
0
 protected void displayPicture(int pid3)
 {
     Laptop l3 = new Laptop(pid3);
     Response.Write(l3.Picture);
 }
Esempio n. 3
0
 protected void displayId(int pid3)
 {
     Laptop l3 = new Laptop(pid3);
     Response.Write(l3.Id);
 }
Esempio n. 4
0
 protected void displayName(int pid3)
 {
     Laptop l3 = new Laptop(pid3);
     Response.Write(l3.Name);
 }
Esempio n. 5
0
 protected void displayDesc(int pid3)
 {
     Laptop l3 = new Laptop(pid3);
     Response.Write(l3.Desc);
 }