Thanks, I tried it but now I get this error:
Could not find control 'ddlCategoryInsert' in ControlParameter 'intCategory'.
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.InvalidOperationExc
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:
[InvalidOperationException
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.DataSourceVi
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.Control.Rais
System.Web.UI.WebControls.
System.Web.UI.Control.Rais
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.Page.RaisePo
System.Web.UI.Page.RaisePo
System.Web.UI.Page.Process
Main Topics
Browse All Topics





by: arhamePosted on 2009-09-18 at 07:53:52ID: 25366610
Try changing this line: rt" Name="intCategory" PropertyName="text" Type="SelectedValue" />
<asp:Parameter Name="intCategory" Type="Int32" />
To this:
<asp:ControlParameter ControlID="ddlCategoryInse
And get rid of the DetailsView1_ItemUpdating event....