This article will show you how you can remove the below mention error while binding a listview control in asp.net using c#.net.
An item placeholder must be specified on ListView 'ListView1'.
Specify an item placeholder by setting a control's ID property to
"itemPlaceholder". The item placeholder control must also specify
runat="server".
|
So for removing this error while binding a listview control we need to add a below mention code as shown below or you can say a control with place holder which contain runat="server" tag.
<tr id="itemPlaceholder" runat="server">
</tr>
|
0 comments:
Please let me know your view