Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET Databases
|
BOOK: Beginning ASP.NET Databases Also see the forum ASP Databases for more general discussions of ASP database issues not directly related to these books.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 25th, 2006, 01:26 PM
Registered User
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.






Similar Threads
Thread Thread Starter Forum Replies Last Post
No System.Web.UI alexanderH BOOK: ASP.NET Website Programming Problem-Design-Solution 2 March 10th, 2005 03:04 AM
namespace System.Web.UI henninga BOOK: ASP.NET Website Programming Problem-Design-Solution 9 November 16th, 2004 03:51 PM
Subclassing system.web.ui.page gazeth BOOK: ASP.NET Website Programming Problem-Design-Solution 2 May 25th, 2004 10:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.