Please, help me find my mistake in code [closed]

sh2sh

New Member
I don't understand where I did mistake. I hope, that this code will be work correctly.There is part of my code:\[code\]<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"><div id="PageContent"> <div class="Navigaton"> <asp:ListView ID="SectionList" DataKeyNames="SectionName" runat="server" DataSourceID="ds_lv_some_one"> <LayoutTemplate> <ul ID="itemPlaceholder" runat="server"> </ul> </LayoutTemplate> <ItemTemplate> <li id="SectionItem"><a href="http://stackoverflow.com/questions/15865310/#"><span><%#Eval("SectionName") %></span></a></li> </ItemTemplate> </asp:ListView> <asp:SqlDataSource ID="ds_lv_some_one" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT [SectionID], [SectionName] FROM [Sections]" /> </div> <div id="Section"> <div id="text"> <p>Content goes here!</p> <asp:FormView ID="fv_some_one" DataSourceID="ds_fv_some_one" runat="server"> <ItemTemplate> <asp:Label ID="Label1" Text='<%# Eval("Title") %>' runat="server" /> </ItemTemplate> </asp:FormView> <asp:SqlDataSource ID="ds_fv_some_one" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT [SectionTitle], [SectionSubtitle], [SectionContent] FROM [Sections] WHERE ([SectionName] = @SectionName)" > <SelectParameters> <asp:ControlParameter ControlID="SectionList" Name="SectionName" PropertyName="SelectedValue" Type="Int32" /> </SelectParameters> </asp:SqlDataSource> </div> </div></div></asp:Content>\[/code\]P.S. Sorry for my english :)
 
Top