我在App_Code中创建了个C#文件
public struct RegistrationInformation
{
private string firstname;
public string Firstname
{
get { return firstname; }
set { firstname = value; }
}
private string lastname;
public string Lastname
{
get { return lastname; }
set { lastname = value; }
}
private string email;
public string Email
{
get { return email; }
set { email = value; }
}
private string selectedEvent;
public string SelectedEvent
{
get { return selectedEvent; }
set { selectedEvent = value; }
}
}
在Defaulst.aspx.cs中 为啥点不出来?就是调用不了啊?
public RegistrationInfomation RegistrationInformation
{
get
{
RegistrationInfomation ri = new RegistrationInfomation();
ri.
}
}
请问哪出错了吗?
public struct RegistrationInformation
{
private string firstname;
public string Firstname
{
get { return firstname; }
set { firstname = value; }
}
private string lastname;
public string Lastname
{
get { return lastname; }
set { lastname = value; }
}
private string email;
public string Email
{
get { return email; }
set { email = value; }
}
private string selectedEvent;
public string SelectedEvent
{
get { return selectedEvent; }
set { selectedEvent = value; }
}
}
在Defaulst.aspx.cs中 为啥点不出来?就是调用不了啊?
public RegistrationInfomation RegistrationInformation
{
get
{
RegistrationInfomation ri = new RegistrationInfomation();
ri.
}
}
请问哪出错了吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货