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