Post Tagged with: "datagridview"

system.web.httpexception: The GridView ‘NameOfGridView’ fired event RowDeleting which wasn’t handled
Visual C# (.NET)

system.web.httpexception: The GridView ‘NameOfGridView’ fired event RowDeleting which wasn’t handled

If you get the “system.web.httpexception: The GridView ‘NameOfGridView’ fired event RowDeleting which wasn’t handled” error: If you have a DELETE button, or whatever button which “CommandName”s property is “DELETE” in […]

C# ASP.NET DataGridView’i Temizlemek (Clear)
Visual C# (.NET)

C# ASP.NET DataGridView’i Temizlemek (Clear)

Merhaba arkadaşlar, C# ASP.NET projelerinizde DataGridView’i temizlemek için: 1) Satırları silebilirsiniz.*(1) DataGridView1.Rows.Clear(); kodunu kullanabilirsiniz. 2) DataTable’yi komple silebilirsiniz.*(2) DataTable dk = new DataTable(); … dk.Clear(); 3) public void FillGrid(){…} tarzında […]