Re: Selection List Control
Thought I should say I am using DOT NET FW 2.0
Re: Selection List Control
Since you dont have a specific question, you can start by reading about working with files in c#:
http://msdn.microsoft.com/en-us/libr...m.io.file.aspx
and possibly the datagrid control:
http://msdn.microsoft.com/en-us/libr....datagrid.aspx
Re: Selection List Control
Quote:
Originally Posted by davidbell
I am looking for a control that can read in a file deliminated by what ever character I decide and putting this info into a grid,...
You may look for thisforever, there is no such control, if you need this behaviour, you need to design it yourself. Look for streams like FileStream and TextReader, TextWriter class and you will be able to create the code you need. Its all in the System.IO namespace
Re: Selection List Control
sorry I was not very clear,
I know all the file and text stuff it was just the grid part.
I take it a data grid it the best way, meaning I wont need to create my own grid, just I thought a data grid was for databases and not for somthing as simple as a text file.
Cheers,
Dave
Re: Selection List Control
Quote:
Originally Posted by davidbell
sorry I was not very clear,
I know all the file and text stuff it was just the grid part.
I take it a data grid it the best way, meaning I wont need to create my own grid, just I thought a data grid was for databases and not for somthing as simple as a text file.
Cheers,
Dave
Simple take a datagridview. It also works if you dont want to bind your data to a datasource directly.
Re: Selection List Control
but how do i populate it from an array?