YvonneTsang
Programmer
Hi I am querying my database for a series of records. The number of records displayed is variable based on the search criteria. I am currently loading it into a datagridview and dynamically adding columns for each record that is found(the numbers of rows will always stay the same). This is a Windows application.
However the problem comes up in that I dont want the user to be able to select a cell or row. I just want it to be shown as data. I can make the rows unsortable and read-only but it bugs me that they can still select rows, columns and cells. Is there something else I can use? If this was just an html app it would be easy with a table and/or a placeholder which I can just add items into. However being a windows application I cant figure out something similar to that. They way the data is presented is acceptable but I think it can just be done in a more efficient manner.
However the problem comes up in that I dont want the user to be able to select a cell or row. I just want it to be shown as data. I can make the rows unsortable and read-only but it bugs me that they can still select rows, columns and cells. Is there something else I can use? If this was just an html app it would be easy with a table and/or a placeholder which I can just add items into. However being a windows application I cant figure out something similar to that. They way the data is presented is acceptable but I think it can just be done in a more efficient manner.