请问一个dropdownlist的问题?
按视频教程做练习
public partial class Welcom : System.Web.UI.Page
{
public class car
{
private string color;
private int chelun = 4;
public string Color
{
get
{
return color;
}
set
{
color = value;
}
}
public int Chelun
{
get
{
return chelun;
}
}
public string getinfo(string a, string b)
{
string c = " ";
switch (a)
{
case "#red ":
c += "你的车是红色的 <br> 车轮 " + b;
break;
case "#black ":
c += "你的车是黑色的 <br> 车轮 " &n