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