Binding the Listview without page refresh in asp.net

<asp:ListView ID="lstInfo" runat="server" >
    <LayoutTemplate>
    </LayoutTemplate>
 <ItemTemplate>
</ItemTemplate>
 </asp:ListView>



protected void BindActiveRecord()
        {
            .DataSource = ds;
            lstInfo.DataBind();
        }
protected void Page_PreRender(object obj, EventArgs e)
        {
            BindActiveRecord();
         }

No comments:

Post a Comment