Click here to Skip to main content
13,663,506 members
   

C#

 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 19:43
membermumbot18-Nov-12 19:43 
GeneralRe: [Help] C# .txt Pin
V.19-Nov-12 0:37
memberV.19-Nov-12 0:37 
GeneralRe: [Help] C# .txt Pin
PIEBALDconsult23-Nov-12 9:46
memberPIEBALDconsult23-Nov-12 9:46 
AnswerRe: [Help] C# .txt Pin
omisheikh18-Nov-12 21:04
memberomisheikh18-Nov-12 21:04 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 21:13
membermumbot18-Nov-12 21:13 
GeneralRe: [Help] C# .txt Pin
omisheikh18-Nov-12 21:19
memberomisheikh18-Nov-12 21:19 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 21:31
membermumbot18-Nov-12 21:31 
GeneralRe: [Help] C# .txt Pin
omisheikh18-Nov-12 21:40
memberomisheikh18-Nov-12 21: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 22:15
membermumbot18-Nov-12 22:15 
GeneralRe: [Help] C# .txt Pin
Zac Greve18-Nov-12 22:32
memberZac Greve18-Nov-12 22:32 
GeneralRe: [Help] C# .txt Pin
omisheikh18-Nov-12 22:34
memberomisheikh18-Nov-12 22:34 
GeneralRe: [Help] C# .txt Pin
mumbot19-Nov-12 0:02
membermumbot19-Nov-12 0:02 
AnswerRe: [Help] C# .txt Pin
Mathlab19-Nov-12 7:54
memberMathlab19-Nov-12 7:54 
QuestionAnother conversion problem (Prism) Pin
Andy_L_J18-Nov-12 11:07
memberAndy_L_J18-Nov-12 11:07 
AnswerRe: Another conversion problem (Prism) Pin
Pete O'Hanlon18-Nov-12 11:39
protectorPete O'Hanlon18-Nov-12 11:39 
GeneralRe: Another conversion problem (Prism) Pin
Andy_L_J18-Nov-12 11:47
memberAndy_L_J18-Nov-12 11:47 
QuestionSending bytes via internet? (info) Pin
clonze18-Nov-12 1:22
memberclonze18-Nov-12 1:22 
AnswerRe: Sending bytes via internet? (info) Pin
Eddy Vluggen18-Nov-12 1:50
memberEddy Vluggen18-Nov-12 1:50 
GeneralRe: Sending bytes via internet? (info) Pin
clonze18-Nov-12 3:54
memberclonze18-Nov-12 3:54 
GeneralRe: Sending bytes via internet? (info) Pin
Eddy Vluggen18-Nov-12 4:42
memberEddy Vluggen18-Nov-12 4:42 
QuestionConverting from VB.NET Pin
Andy_L_J17-Nov-12 21:39
memberAndy_L_J17-Nov-12 21:39 
AnswerRe: Converting from VB.NET Pin
DaveyM6917-Nov-12 22:23
mentorDaveyM6917-Nov-12 22:23 
GeneralRe: Converting from VB.NET Pin
Andy_L_J17-Nov-12 22:54
memberAndy_L_J17-Nov-12 22:54 
GeneralRe: Converting from VB.NET Pin
DaveyM6918-Nov-12 7:10
mentorDaveyM6918-Nov-12 7:10 
GeneralRe: Converting from VB.NET Pin
Andy_L_J18-Nov-12 11:12
memberAndy_L_J18-Nov-12 11: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
Web06-2016 | 2.8.180810.1 | Last Updated 16 Aug 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid