Click here to Skip to main content
15,924,036 members
Home / Discussions / C#
   

C#

 
GeneralRe: flashy string :) Pin
Luc Pattyn6-Aug-09 1:23
sitebuilderLuc Pattyn6-Aug-09 1:23 
GeneralRe: flashy string :) Pin
OriginalGriff6-Aug-09 1:25
mveOriginalGriff6-Aug-09 1:25 
GeneralRe: flashy string :) Pin
_Q12_6-Aug-09 8:11
_Q12_6-Aug-09 8:11 
GeneralRe: flashy string :) Pin
OriginalGriff6-Aug-09 8:50
mveOriginalGriff6-Aug-09 8:50 
GeneralRe: flashy string :) ... now a matrix of leds :) Pin
_Q12_6-Aug-09 14:00
_Q12_6-Aug-09 14:00 
GeneralRe: flashy string :) ... now a matrix of leds :) Pin
OriginalGriff6-Aug-09 21:19
mveOriginalGriff6-Aug-09 21:19 
QuestionAdd text file contents to a listview Pin
iNutR5-Aug-09 21:14
iNutR5-Aug-09 21:14 
AnswerRe: Add text file contents to a listview Pin
musefan5-Aug-09 21:59
musefan5-Aug-09 21:59 
StreamReader sr = new StreamReader("File.txt");
string line = sr.ReadLine();

while(line != null)//loop through each line until end of file
{
if(line.Contains(":"))
{
string[] parts = line.Split(':');//you may want to validate unless your certain the input is perfect
//now parts will contain username at index[0] and password at index[1]
//so you can add both to a new line in your listview
}
line = sr.ReadLine();//read in the next line, without you will be in endless loop
}

sr.Close();

Life goes very fast. Tomorrow, today is already yesterday.

QuestionStore multiple checkbox values in a single field in database Pin
elci5-Aug-09 20:54
elci5-Aug-09 20:54 
AnswerRe: Store multiple checkbox values in a single field in database Pin
Mycroft Holmes5-Aug-09 21:04
professionalMycroft Holmes5-Aug-09 21:04 
GeneralRe: Store multiple checkbox values in a single field in database Pin
elci5-Aug-09 21:05
elci5-Aug-09 21:05 
GeneralRe: Store multiple checkbox values in a single field in database Pin
Mycroft Holmes5-Aug-09 21:12
professionalMycroft Holmes5-Aug-09 21:12 
GeneralRe: Store multiple checkbox values in a single field in database Pin
JollyMansArt5-Aug-09 21:17
JollyMansArt5-Aug-09 21:17 
GeneralRe: Store multiple checkbox values in a single field in database Pin
Pete O'Hanlon5-Aug-09 22:44
mvePete O'Hanlon5-Aug-09 22:44 
GeneralRe: Store multiple checkbox values in a single field in database Pin
Mycroft Holmes5-Aug-09 23:19
professionalMycroft Holmes5-Aug-09 23:19 
GeneralRe: Store multiple checkbox values in a single field in database Pin
Pete O'Hanlon6-Aug-09 0:28
mvePete O'Hanlon6-Aug-09 0:28 
AnswerRe: Store multiple checkbox values in a single field in database Pin
JollyMansArt5-Aug-09 21:14
JollyMansArt5-Aug-09 21:14 
GeneralRe: Store multiple checkbox values in a single field in database Pin
Greg Chelstowski5-Aug-09 21:19
Greg Chelstowski5-Aug-09 21:19 
GeneralRe: Store multiple checkbox values in a single field in database Pin
JollyMansArt5-Aug-09 21:23
JollyMansArt5-Aug-09 21:23 
GeneralRe: Store multiple checkbox values in a single field in database Pin
Mycroft Holmes5-Aug-09 21:20
professionalMycroft Holmes5-Aug-09 21:20 
AnswerRe: Store multiple checkbox values in a single field in database Pin
Greg Chelstowski5-Aug-09 21:18
Greg Chelstowski5-Aug-09 21:18 
AnswerRe: Store multiple checkbox values in a single field in database Pin
Adam Jasper5-Aug-09 23:49
Adam Jasper5-Aug-09 23:49 
GeneralRe: Store multiple checkbox values in a single field in database Pin
elci6-Aug-09 0:12
elci6-Aug-09 0:12 
QuestionNeed help retreiving the image from the database... Pin
JollyMansArt5-Aug-09 20:53
JollyMansArt5-Aug-09 20:53 
AnswerRe: Need help retreiving the image from the database... Pin
Henry Minute6-Aug-09 2:46
Henry Minute6-Aug-09 2:46 

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.