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