Search results for query: *

  • Users: Peter King
  • Content: Threads
  • Order by date
  1. P

    Help with project path

    Hi, My program needs to determine the directory in which the application's executable and associated files are found. I use the following on loading the start form: CurrentDir = System.IO.Directory.GetCurrentDirectory() to get the directory path. However, it works only when the executable...
  2. P

    How to delete selected rows in datagridview efficiently?

    Hi, there, I have a DataGridView with data source from a DataTable. The DataTable is generated from a text file (not bound to any database), and contains roughly 500000 rows. I want the user to select some rows, and delete those selected rows by clicking a button. The problem is that if the...
  3. P

    Sorting on 2 columns of DataTable

    Hi, there It seems to be simple, but still it got me mad. I have a DataTable with several columns. The first two columns are strings. I want to sort the table by the substring(0,1) of the first column and then by the substring(0,1) of the 2nd column. Anyone can help?
  4. P

    Adding rows to DataGridView: Why so slow?

    Hi, I try to read in a text file (delimited with blank space) and display the data in a DataGridView. The problem is that the file is large, with 100000 lines and each line has 10 values separated by space. I use readline to read each line and populate a row in DataGridView, with code like...
  5. P

    Problems with ListView Control

    I am using listview control to display Excel-like table. The table is large, with about 100000 rows, and each row has 10 columns. So I use ListView’s Details view option. But I have 3 problems that have been puzzling me. First, it is very slow to load data into the ListView Control. I use...
Back
Top