<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebUserControl1.ascx.cs" Inherits="UserControlsDemo.WebUserControl1" %> <asp:GridView ID="GridView1" runat="server"></asp:GridView>
//in user control, add this method public void BindGrid() { gvInnerGrid.DataBind(); } //on your page userControl.BindGrid();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)