Type 'System.Web.UI.WebControls.BoundColumn' does
According to Ch#12MenuForRegisterd Users.aspx
<asp:Label ID="lblStatus" ForeColor="#ff0000" Font-Bold="True" Runat="server" />
<asp:DataGrid ID="myWinningBids" AutoGenerateColumns="False" Width="50%" HeaderStyle-BackColor="#ff0000" HeaderStyle-Font-Bold="True" HeaderStyle-Font-Name="Verdana" HeaderStyle-Font-Size="13px" HeaderStyle-ForeColor="#ffffff" ItemStyle-BackColor="Beige" ItemStyle-Font-Name="verdana" ItemStyle-Font-Size="13px" BorderColor="#000000" OnItemCreated="myWinningBids_ItemCreated" Runat="server">
<Columns>
<asp:TemplateColumn HeaderText="Item Name - Click to Complete purchase.">
<ItemTemplate>
<asp:hyperlink ID="hypItemName" NavigateUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem, "ItemID"), DataBinder.Eval(Container.DataItem, "Highestbid")) %>' Text='<%# DataBinder.Eval(Container.DataItem, "ItemName") %>' Runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="HighestBid" HeaderText="Winning Bid" id="BoundColumn1" runat="server" />
</Columns>
</asp:DataGrid> There is an Parse error being created with id="Boundcolumn1" this initself can be corrected by removing the id="Boundcolumn1" but the procedure to confirm to buy the product, the two arguments to the Add( ) method. The first attribute name, and the second is the value of the attribute do not work.
Is the problem two fold wrong coding with regards to the id being included plus the method not working? I have looked back into the book ASP.Net 1.0 beginning Databases with no luck yet. Anyone have any solutions to this problem.
The article by Bonehead states to remove the Column but this does not solve the solution for the Javascript pop-up not working.
|