Home / FAQ / ASP.NET / DataGrid / How to clear a DataGrid
VB.NET
DataGrid1.DataSource = Nothing DataGrid1.DataBind()
C#
DataGrid1.DataSource = null; DataGrid1.DataBind();
Platform BlazorASP.NETWinFormsWPF
Question *
Answer (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with