Click here to Skip to main content
16,004,974 members
Home / Discussions / C#
   

C#

 
QuestionHow to capture the final DocumentCompleted in Pin
Epsilone324-May-07 6:47
Epsilone324-May-07 6:47 
AnswerRe: How to capture the final DocumentCompleted in Pin
Epsilone324-May-07 8:08
Epsilone324-May-07 8:08 
QuestionListening to program events. Pin
Muntyness24-May-07 6:10
Muntyness24-May-07 6:10 
AnswerRe: Listening to program events. Pin
Dave Herren24-May-07 6:26
Dave Herren24-May-07 6:26 
GeneralRe: Listening to program events. Pin
Muntyness24-May-07 6:48
Muntyness24-May-07 6:48 
AnswerRe: Listening to program events. Pin
Dave Kreskowiak24-May-07 6:57
mveDave Kreskowiak24-May-07 6:57 
GeneralRe: Listening to program events. Pin
Muntyness24-May-07 7:26
Muntyness24-May-07 7:26 
Questionread from DAT file Pin
Mohammed Elkholy24-May-07 6:05
Mohammed Elkholy24-May-07 6:05 
i have a file has extention DAT

i write string line in this file

but when i read this line from the file it doesn't return string


this is the code i wrote


StreamWriter OpenToWrite = new StreamWriter("Connection.DAT");
OpenToWrite.Write(@"server="+txt_servername.Text +";database=NewWay;User ID="+txt_username.Text +";password="+txt_password.Text);
OpenToWrite.Flush();
OpenToWrite.Close();
StreamReader OpenToRead = new StreamReader("Connection.DAT");

string Conn = OpenToRead.Read().ToString();


thnx for help


MD_NADA

AnswerRe: read from DAT file Pin
Tarakeshwar Reddy24-May-07 6:28
professionalTarakeshwar Reddy24-May-07 6:28 
AnswerRe: read from DAT file Pin
Dave Herren24-May-07 6:31
Dave Herren24-May-07 6:31 
QuestionWebbrowser Control--- Text To HTML Pin
chettu24-May-07 4:22
chettu24-May-07 4:22 
AnswerRe: Webbrowser Control--- Text To HTML Pin
Dave Herren24-May-07 4:37
Dave Herren24-May-07 4:37 
GeneralRe: Webbrowser Control--- Text To HTML Pin
chettu24-May-07 6:16
chettu24-May-07 6:16 
QuestionBinary or Non-Binary File Pin
DotNetDominator24-May-07 3:27
DotNetDominator24-May-07 3:27 
AnswerRe: Binary or Non-Binary File Pin
Judah Gabriel Himango24-May-07 5:33
sponsorJudah Gabriel Himango24-May-07 5:33 
AnswerRe: Binary or Non-Binary File Pin
Luc Pattyn24-May-07 6:10
sitebuilderLuc Pattyn24-May-07 6:10 
GeneralRe: Binary or Non-Binary File Pin
DotNetDominator24-May-07 9:33
DotNetDominator24-May-07 9:33 
GeneralRe: Binary or Non-Binary File Pin
Luc Pattyn24-May-07 9:59
sitebuilderLuc Pattyn24-May-07 9:59 
QuestionI am getting PDF error Pin
adilkazmi24-May-07 3:08
adilkazmi24-May-07 3:08 
AnswerRe: I am getting PDF error Pin
Colin Angus Mackay24-May-07 4:47
Colin Angus Mackay24-May-07 4:47 
JokeRe: I am getting PDF error Pin
Martin#24-May-07 5:17
Martin#24-May-07 5:17 
QuestionHow do I create a dock able toolbar in C# like the office toolbar Pin
Sagar Pattnayak24-May-07 3:06
Sagar Pattnayak24-May-07 3:06 
AnswerRe: How do I create a dock able toolbar in C# like the office toolbar Pin
Martin#24-May-07 3:15
Martin#24-May-07 3:15 
QuestionContext Menu Click Pin
deep_C#24-May-07 2:21
deep_C#24-May-07 2:21 
AnswerRe: Context Menu Click Pin
Giorgi Dalakishvili24-May-07 2:26
mentorGiorgi Dalakishvili24-May-07 2:26 

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.