bind namevaluecollection gridview?


what kind collection i should modify namevalue collection bindable gridview?
when doing directly didn't work.



code aspx.cs



  private vacant bindlist(namevaluecollection nvplist)
{
resultgv.datasource = list;
resultgv.databind();
}


code aspx



<asp:gridview id="resultgv" runat="server" autogeneratecolumns="false" width="100%">
<columns>
<asp:boundfield datafield="key" headertext="key" />
<asp:boundfield datafield="value" headertext="value" />
</columns>
</asp:gridview>


any tip many welcome. thanks. x.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members