Hi,
Can someone help me out regarding this error. As relatively new to .nettiers can somebody tells where to write the update method.I am using the view to retrieve the data. I am using service layer to add my custom methods as per my requirement. Also please give some suggestion about writing my own insert method.
<
asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="pp" DataTextField="Prj_Name" DataValueField="Prj_ID" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
</asp:DropDownList><br />
<data:ProjectsDataSource runat="server" SelectMethod="GetPaged" ID="pp" EnablePaging="True" EnableSorting="True" EnableTransaction="False">
<DeepLoadProperties Method="IncludeChildren" Recursive="False">
</DeepLoadProperties>
</data:ProjectsDataSource>
<br />
Components List
<br />
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" EnableSortingAndPagingCallbacks="True">
<Columns>
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
<asp:BoundField DataField="Comp_Name" HeaderText="Comp_Name" SortExpression="Comp_Name" />
<asp:BoundField DataField="Comp_Description" HeaderText="Comp_Description" SortExpression="Comp_Description" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getbypid" TypeName="EstratsBugTracker.Services.PrjComponentsService">
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList1" Name="whereClause" PropertyName="SelectedValue"
Type="String" />
<asp:Parameter Name="orderby" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>