Click here to Skip to main content
13,764,997 members
   

C#

 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 20:43
membermumbot18-Nov-12 20:43 
GeneralRe: [Help] C# .txt Pin
V.19-Nov-12 1:37
professionalV.19-Nov-12 1:37 
GeneralRe: [Help] C# .txt Pin
PIEBALDconsult23-Nov-12 10:46
protectorPIEBALDconsult23-Nov-12 10:46 
AnswerRe: [Help] C# .txt Pin
omisheikh18-Nov-12 22:04
memberomisheikh18-Nov-12 22:04 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 22:13
membermumbot18-Nov-12 22:13 
GeneralRe: [Help] C# .txt Pin
omisheikh18-Nov-12 22:19
memberomisheikh18-Nov-12 22:19 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 22:31
membermumbot18-Nov-12 22:31 
GeneralRe: [Help] C# .txt Pin
omisheikh18-Nov-12 22:40
memberomisheikh18-Nov-12 22:40 
TextReader tr = new StreamReader(C\\test.txt);

//How many lines should be loaded?
int NumberOfLines = 15;

//Make our array for each line
string[] ListLines = new string[NumberOfLines];

//Read the number of lines and put them in the array
for (int i = 1; i < NumberOfLines; i++)
{
ListLines[i] = tr.ReadLine();
}
if the title is in number 5 line
this.text = ListLines[5];
one all the lines are added in the array then you can pick your desired one.
hope this will help you..
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 23:15
membermumbot18-Nov-12 23:15 
GeneralRe: [Help] C# .txt Pin
Brisingr Aerowing18-Nov-12 23:32
professionalBrisingr Aerowing18-Nov-12 23:32 
GeneralRe: [Help] C# .txt Pin
omisheikh18-Nov-12 23:34
memberomisheikh18-Nov-12 23:34 
GeneralRe: [Help] C# .txt Pin
mumbot19-Nov-12 1:02
membermumbot19-Nov-12 1:02 
AnswerRe: [Help] C# .txt Pin
CafedeJamaica19-Nov-12 8:54
professionalCafedeJamaica19-Nov-12 8:54 
QuestionAnother conversion problem (Prism) Pin
Andy_L_J18-Nov-12 12:07
memberAndy_L_J18-Nov-12 12:07 
AnswerRe: Another conversion problem (Prism) Pin
Pete O'Hanlon18-Nov-12 12:39
protectorPete O'Hanlon18-Nov-12 12:39 
GeneralRe: Another conversion problem (Prism) Pin
Andy_L_J18-Nov-12 12:47
memberAndy_L_J18-Nov-12 12:47 
QuestionSending bytes via internet? (info) Pin
clonze18-Nov-12 2:22
memberclonze18-Nov-12 2:22 
AnswerRe: Sending bytes via internet? (info) Pin
Eddy Vluggen18-Nov-12 2:50
professionalEddy Vluggen18-Nov-12 2:50 
GeneralRe: Sending bytes via internet? (info) Pin
clonze18-Nov-12 4:54
memberclonze18-Nov-12 4:54 
GeneralRe: Sending bytes via internet? (info) Pin
Eddy Vluggen18-Nov-12 5:42
professionalEddy Vluggen18-Nov-12 5:42 
QuestionConverting from VB.NET Pin
Andy_L_J17-Nov-12 22:39
memberAndy_L_J17-Nov-12 22:39 
AnswerRe: Converting from VB.NET Pin
DaveyM6917-Nov-12 23:23
mentorDaveyM6917-Nov-12 23:23 
GeneralRe: Converting from VB.NET Pin
Andy_L_J17-Nov-12 23:54
memberAndy_L_J17-Nov-12 23:54 
GeneralRe: Converting from VB.NET Pin
DaveyM6918-Nov-12 8:10
mentorDaveyM6918-Nov-12 8:10 
GeneralRe: Converting from VB.NET Pin
Andy_L_J18-Nov-12 12:12
memberAndy_L_J18-Nov-12 12:12 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.181114.1 | Last Updated 14 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid