Did you update the parameters at the bottom of the editad page?
such as:
<
UpdateParameters>
<asp:Parameter Name="original_Id" Type="Int32" />
<asp:ProfileParameter Type="Int32" Name="memberId" PropertyName="MemberId" />
<asp:Parameter Type="String" Name="title"></asp:Parameter>
<asp:Parameter Type="String" Name="description"></asp:Parameter><asp:Parameter Type="Decimal" Name="price"></asp:Parameter>
<asp:Parameter Type="String" Name="location"></asp:Parameter>
When I went through mine I forgot that part at first.
If that's not it I just want to clarify on the Ads.xsd file, you changed the code in it, right not just adding the columns.
code like:
<UpdateCommand>
<
DbCommand CommandType="StoredProcedure" ModifiedByUser="False"><CommandText>UpdateAd</CommandText>
<
Parameters><Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
</
Parameter><Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Current">
</
Parameter><Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MemberId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="MemberId" SourceColumnNullMapping="False" SourceVersion="Current">
</
Parameter><Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Title" SourceColumnNullMapping="False" SourceVersion="Current">
</
Parameter>
If you did those two major things already and the code for the .xsd file is in the same order for your new columns
as it is for each section, ie insert, update, relist . . .
Then list in detail what files you changed, and I'll tell you what you left out.
Be sure to visit
www.detelli.comAnd please remember to click ?Mark as Answer? on the post that helps you.
This can be beneficial to other community members reading the thread.