TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tauseef Khan
NA
13
15.3k
listview issue
Nov 18 2009 2:10 PM
hi guys , i am having problem at design time and getting error ,
listview does not have any public propery named tr...
why ?
any help , please .
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ListView ID = "lstview" runat ="server" DataSourceID="orderdatasource">
<LayoutTemplate>
<table id ="itemplaceholdercontainer">
<tr>
<th>
Order ID
</th>
<th>
Customer ID
</th>
<th>
Order Date
</th>
<th>
Ship Address
</th>
<th>
Ship Country
</th>
</tr>
<tr runat ="server" id ="itemPlaceholder"></tr>
</table>
</LayoutTemplate>
<tr>
<td>
<asp:Label ID = "lblorderid" runat ="server" text = '<%#eval(orderid)%>'></asp:Label>
</td>
<td>
<asp:Label ID = "lblcustomerid" runat ="server" text = '<%#eval(customerid)%>'></asp:Label>
</td>
<td>
<asp:Label ID = "orderdate" runat ="server" text = '<%#eval(orderdate)%>'></asp:Label>
</td>
<td>
<asp:Label ID = "shipaddress" runat ="server" text = '<%#eval(shipaddress)%>'></asp:Label>
</td>
<td>
<asp:Label ID = "shipcountry" runat ="server" text = '<%#eval(shipcountry)%>'></asp:Label>
</td>
</tr>
</asp:ListView>
<asp:ObjectDataSource ID="orderdatasource" runat="server"
SelectMethod="GetOrdersByCustomer" TypeName="BAL.CustomerBAL">
<SelectParameters>
<asp:ControlParameter ControlID="dpcustomers" Name="customer"
PropertyName="SelectedValue" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</ContentTemplate>
</asp:UpdatePanel>
Reply
Answers (
1
)
how to add new .aspx page at run time?
connect outlook to sql database table