0
Reply

DataGrid in a C# Windows Application

Matthew Lamb

Matthew Lamb

Mar 2 2006 1:39 PM
1.8k
Hi everybody! Got a Windows/C#/DataGrid question for you. The application I'm writing is essentially a note taking app. The user will enter a line of text, press enter, that line is then recorded and another line can be entered. Each line contains 4 components (2 time recordings, the text and a numeric code). In the app, I want to be able to display the last 6 or so lines that have been entered. Is a DataGrid the best way to accomplish this? All the DataGrid work I've done has been with web development. So what I want to do is make the DataSource a text file of some sort, and only display the last 6 lines of the text file in the data grid. Is this possible? Thanks!