Click here to Skip to main content
16,005,141 members
Home / Discussions / C#
   

C#

 
QuestionCustom window in C# Pin
CoolASL13-Dec-05 18:35
CoolASL13-Dec-05 18:35 
AnswerRe: Custom window in C# Pin
MarcelErz13-Dec-05 21:34
MarcelErz13-Dec-05 21:34 
GeneralRe: Custom window in C# Pin
CoolASL13-Dec-05 22:15
CoolASL13-Dec-05 22:15 
GeneralRe: Custom window in C# Pin
MarcelErz13-Dec-05 22:32
MarcelErz13-Dec-05 22:32 
GeneralRe: Custom window in C# Pin
CoolASL13-Dec-05 22:35
CoolASL13-Dec-05 22:35 
GeneralRe: Custom window in C# Pin
CoolASL14-Dec-05 2:30
CoolASL14-Dec-05 2:30 
QuestionTextfile and its schema Pin
Mahi.Ragava13-Dec-05 18:19
Mahi.Ragava13-Dec-05 18:19 
AnswerRe: Textfile and its schema Pin
MarcelErz13-Dec-05 22:03
MarcelErz13-Dec-05 22:03 
Hi!

What do you mean by schema? You have the extansion, so you know it is a CSV when it is an CSV-extension.
So, if you mean how to get the data from a CSV, then look at this:

<br />
string lsData = "";<br />
string[] lsStrArray = null;<br />
<br />
System.IO.StreamReader loStream = new System.IO.StreamReader("C:\\test.csv"); <br />
<br />
while ((lsData = loStream.ReadLine()) != null)<br />
{<br />
 // Read the stream by ReadLine, to just read til end of line<br />
 lsData = loStream.ReadLine();<br />
 lsStrArray = lsData.Split(';');<br />
 // ... <br />
}<br />
loStream.Close();<br />


Marcel Erz
GeneralRe: Textfile and its schema Pin
Mahi.Ragava13-Dec-05 22:09
Mahi.Ragava13-Dec-05 22:09 
GeneralRe: Textfile and its schema Pin
MarcelErz13-Dec-05 22:37
MarcelErz13-Dec-05 22:37 
GeneralRe: Textfile and its schema Pin
Mahi.Ragava13-Dec-05 23:01
Mahi.Ragava13-Dec-05 23:01 
GeneralRe: Textfile and its schema Pin
MarcelErz14-Dec-05 0:31
MarcelErz14-Dec-05 0:31 
QuestionSend Message Pin
picasso213-Dec-05 17:55
picasso213-Dec-05 17:55 
AnswerRe: Send Message Pin
MarcelErz13-Dec-05 22:28
MarcelErz13-Dec-05 22:28 
QuestionDatagridTextBoxColumn with Combo Pin
Mahi.Ragava13-Dec-05 17:49
Mahi.Ragava13-Dec-05 17:49 
QuestionList of Funny Generics Pin
Clickok13-Dec-05 17:07
Clickok13-Dec-05 17:07 
AnswerRe: List of Funny Generics Pin
Christian Graus13-Dec-05 17:15
protectorChristian Graus13-Dec-05 17:15 
AnswerRe: List of Funny Generics Pin
leppie13-Dec-05 23:08
leppie13-Dec-05 23:08 
QuestionGraphics.PageScale Problem when scrolling Pin
-Rowan-13-Dec-05 15:26
-Rowan-13-Dec-05 15:26 
QuestionOracle Querying in C# Pin
apoc50313-Dec-05 14:14
apoc50313-Dec-05 14:14 
AnswerRe: Oracle Querying in C# Pin
Christian Graus13-Dec-05 15:06
protectorChristian Graus13-Dec-05 15:06 
GeneralRe: Oracle Querying in C# Pin
apoc50314-Dec-05 9:05
apoc50314-Dec-05 9:05 
Questionnew to c# Pin
lino_i13-Dec-05 13:58
lino_i13-Dec-05 13:58 
AnswerRe: new to c# Pin
Christian Graus13-Dec-05 15:03
protectorChristian Graus13-Dec-05 15:03 
AnswerRe: new to c# Pin
Kevin McFarlane14-Dec-05 5:14
Kevin McFarlane14-Dec-05 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.