I have created a DAL (Data Access Layer) and a BLL (Business Logic Layer) for a very simple database that has 1 table called T_Pages. T_Pages has two columns - PageNameID and HTML.
I have a very simple webform. I have configured the datasource for ObjectDataSource1 to the BLL. This generated the code that is within the ObjectDataSource area.
I feel that I need to try and bind the data from the HTML field to the text area of CuteEditor. But this is not working. Can someone give me some advice
Thanks
<
body>
<form id="form1" runat="server">
<div>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
DeleteMethod="Delete" InsertMethod="Insert"
OldValuesParameterFormatString="original_{0}" SelectMethod="GetPageNameID"
TypeName="cmsDALTableAdapters.T_PagesTableAdapter" UpdateMethod="Update">
<DeleteParameters>
<asp:Parameter Name="Original_PageName" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="HTML" Type="String" />
<asp:Parameter Name="Original_PageName" Type="String" />
</UpdateParameters>
<SelectParameters>
<asp:Parameter DefaultValue="FirstTestCMS" Name="PageNameID" Type="String" />
</SelectParameters>
<InsertParameters>
<asp:Parameter Name="PageName" Type="String" />
<asp:Parameter Name="HTML" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
<CE:Editor ID="Editor1" runat="server" Text='<%# Bind("HTML") %>'>
</CE:Editor>
</div>
</form>
</
body>