I am hoping this is a very easy question to answer. I was just wondering how I clear the DataGrid in ASP.NET. Any help is appreciated since I cannot find the answer online. Thanks!
Define "clear":<BR>1. Hide it?<BR>2. Remove the DataSource?<BR>3. Remove the rows?<BR>What to you want, exactly, to happen?
You are using a DataSet as the DataSource:<BR><BR><<C# Code>><BR>myDataSet.Clear();<BR>myDataGr id.DataBind();