ho provato a inserire l'istruzione nel pageLoad ma mi da errore.....:
Method not found: Void System.Web.UI.WebControls.ListControl.set_SelectedValue(System.String).
**Description: **An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
**Exception Details: **System.MissingMethodException: Method not found: Void System.Web.UI.WebControls.ListControl.set_SelectedValue(System.String).
**Source Error:**An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodException: Method not found: Void System.Web.UI.WebControls.ListControl.set_SelectedValue(System.String).] xenia.tabella_spons.Page_Load(Object sender, EventArgs e) +0 System.Web.UI.Control.OnLoad(EventArgs e) System.Web.UI.Control.LoadRecursive() System.Web.UI.Page.ProcessRequestMain() Cos'ho dimenticato...devo ancora mettere qualcosa????io ho scrittoDropDownList2.SelectedValue="2007";