mainrotor
asked on
How can I clear a bound GridView in C#.Net
Hi experts,
I use a bound GridView in my ASP.Net application with C# code behind. I bind the GridView with a data table using the code below. I need to know how to clear the bound GridView. Thanks in advance.
dt = Session["Addresses"] as DataTable;
gdvAddresses.DataSource = dt;
gdvAddresses.Visible = true;
gdvAddresses.DataBind();
MRotor
I use a bound GridView in my ASP.Net application with C# code behind. I bind the GridView with a data table using the code below. I need to know how to clear the bound GridView. Thanks in advance.
dt = Session["Addresses"] as DataTable;
gdvAddresses.DataSource = dt;
gdvAddresses.Visible = true;
gdvAddresses.DataBind();
MRotor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.