Bind Drop-down with SharePoint List and display list items in a Gridview

In this blog, I will explain about below point through C# code:1. Bind all list in a dropdown2 Load List items in a Gridview once a user changes list name in dropdown. You need to create a visual webpart in Visual studio 2010. Visual WebPart ASCX code: <asp:DropDownList ID=”ddlList” AutoPostBack=”true” runat=”server”     onselectedindexchanged=”ddlList_SelectedIndexChanged”></asp:DropDownList><p>    <asp:Label … Read more