Ciao,
premetto che sono alle prime armi con .net....e non so nemmeno se sono nel forum giusto!
Cmq, ho una pagina ASPX in cui ho questo codice
Codice PHP:
private void Page_Load(object sender, System.EventArgs e)
{
Ilist techList = CreateTechnologyList();
if (!this.IsPostBack)
{
this.ListBox1.DataSource=techList;
this.ListBox1.DataTextField="TechnologyName";
this.DropDownList1.DataSource=techList;
this.DropDownList1.DataTextField="TechnologyName";
this.RadioButtonList1.DataSource=techList;
this.RadioButtonList1.DataTextField="TechnologyName";
this.DataBind();
}
}
protected Ilist CreateTechnologyList()
{
ArrayList alTechnologies = new ArrayList();
TechnologyDescriptor=technologyDescriptor;
technologyDescriptor= new TechnologyDescriptor("ASP.NET", "Handle HTTP Request");
alTechnologies.Add(technologyDescriptor);
return alTechnologies;
}
TechnologyDescriptor è un classe in un file .cs che mi restituisce 2 semplici stringhe...
quando compilo mi appare questo errore:
c:\inetpub\wwwroot\DataBindORama\WebForm1.aspx.cs( 50): The type or namespace name 'Ilist' could not be found (are you missing a using directive or an assembly reference?)
Cosa non va in Ilist???
qualcuno mi sa aiutare? grazie