/// Used to set up the data table when the user types a query.
dataGridView1.DataSource = GetSearchResults(queryStr);
/// Connect to the database and then use an adapter to
/// fill a DataTable.
DataTable GetSearchResults(string queryStr)
// Make a new DataTable.
DataTable table = new DataTable();
// You will want to declare a new DataAdapter, and then call its fill method
// on the DataTable.
After BuildDataGrid is called, the above code sets the DataSource property to the results of another function, GetSearchResults. Next, it performs a custom search. This is custom code that will query a database such as a full-text database for results.
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...