Can I use DataGridView without using database data?
问题 I have a client-server program and the server receives [Process ID, Hostname, App Name, File Path] and I want to put them in a table. As of now they are sent in one string. Is DataGridView applicable to use even if they are not inside a database or is there another option? Thanks. 回答1: The short answer is Yes. You can use a List<T> as DataSource You can use a DataTable as DataSource (DataTable not related to db) You can use it without DataSource and only defining columns and adding rows Use