Click here to Skip to main content
15,909,939 members
Home / Discussions / C#
   

C#

 
GeneralRe: Spaces in a String objectme Pin
Ak Hon29-Jul-07 17:54
Ak Hon29-Jul-07 17:54 
Questionc# Pin
tasumisra28-Jul-07 6:12
tasumisra28-Jul-07 6:12 
AnswerRe: c# Pin
Paul Conrad28-Jul-07 6:28
professionalPaul Conrad28-Jul-07 6:28 
GeneralRe: c# Pin
tasumisra28-Jul-07 6:31
tasumisra28-Jul-07 6:31 
GeneralRe: c# Pin
Paul Conrad28-Jul-07 6:41
professionalPaul Conrad28-Jul-07 6:41 
GeneralRe: c# Pin
Paul Conrad28-Jul-07 6:43
professionalPaul Conrad28-Jul-07 6:43 
GeneralRe: c# Pin
Colin Angus Mackay28-Jul-07 7:19
Colin Angus Mackay28-Jul-07 7:19 
GeneralRe: c# Pin
WillemM28-Jul-07 8:13
WillemM28-Jul-07 8:13 
In that case a snippet like the following might be more helpful Wink | ;)

OpenFileDialog dlg = new OpenFileDialog();
DialogResult result = dlg.ShowDialog();

if(result == DialogResult.OK) {
using(FileStream stream = File.OpenRead(dlg.FileName)) {
StreamReader reader = new StreamReader(stream);
string fileContents = reader.ReadToEnd();

//Do something with the content
}
}

Ooh and I totally agree on the title being very unclear. I do hope however this helps a bit.

WM.

What about weapons of mass-construction?

"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog

GeneralRe: c# Pin
Paul Conrad28-Jul-07 9:52
professionalPaul Conrad28-Jul-07 9:52 
GeneralRe: c# Pin
Paul Conrad28-Jul-07 9:51
professionalPaul Conrad28-Jul-07 9:51 
GeneralRe: c# Pin
Guffa28-Jul-07 11:39
Guffa28-Jul-07 11:39 
GeneralRe: c# Pin
Paul Conrad28-Jul-07 11:46
professionalPaul Conrad28-Jul-07 11:46 
Questionhow i can active with sqlserver with string Feilds Pin
Thaer Hamael28-Jul-07 5:46
Thaer Hamael28-Jul-07 5:46 
AnswerRe: how i can active with sqlserver with string Feilds Pin
Paul Conrad28-Jul-07 6:28
professionalPaul Conrad28-Jul-07 6:28 
AnswerRe: how i can active with sqlserver with string Feilds Pin
DignifiedWorld29-Jul-07 2:29
DignifiedWorld29-Jul-07 2:29 
GeneralRe: how i can active with sqlserver with string Feilds Pin
Paul Conrad29-Jul-07 3:44
professionalPaul Conrad29-Jul-07 3:44 
QuestionHow to select max(String)from sqlserver Pin
Thaer Hamael28-Jul-07 5:33
Thaer Hamael28-Jul-07 5:33 
AnswerRe: How to select max(String)from sqlserver Pin
Paul Conrad28-Jul-07 5:35
professionalPaul Conrad28-Jul-07 5:35 
GeneralRe: How to select max(String)from sqlserver Pin
Thaer Hamael28-Jul-07 5:41
Thaer Hamael28-Jul-07 5:41 
GeneralRe: How to select max(String)from sqlserver Pin
User 665828-Jul-07 5:58
User 665828-Jul-07 5:58 
GeneralRe: How to select max(String)from sqlserver Pin
Paul Conrad28-Jul-07 6:26
professionalPaul Conrad28-Jul-07 6:26 
GeneralRe: How to select max(String)from sqlserver Pin
Paul Conrad28-Jul-07 6:23
professionalPaul Conrad28-Jul-07 6:23 
QuestionList vs LinkedList Pin
User 665828-Jul-07 4:48
User 665828-Jul-07 4:48 
AnswerRe: List<T> vs LinkedList<T> Pin
Urs Enzler28-Jul-07 4:54
Urs Enzler28-Jul-07 4:54 
GeneralRe: List<T> vs LinkedList<T> Pin
User 665828-Jul-07 5:12
User 665828-Jul-07 5: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.