Click here to Skip to main content
15,889,176 members
Home / Discussions / C#
   

C#

 
AnswerRe: Downgrading ReaderWriterLockSlim UpgradeableReadLock to simple ReadLock Pin
N a v a n e e t h20-Dec-08 0:57
N a v a n e e t h20-Dec-08 0:57 
GeneralRe: Downgrading ReaderWriterLockSlim UpgradeableReadLock to simple ReadLock Pin
HosamAly20-Dec-08 2:41
HosamAly20-Dec-08 2:41 
GeneralRe: Downgrading ReaderWriterLockSlim UpgradeableReadLock to simple ReadLock Pin
N a v a n e e t h20-Dec-08 7:32
N a v a n e e t h20-Dec-08 7:32 
Questionhow to write the values in textbox to xml format.. Pin
samsonx19-Dec-08 22:26
samsonx19-Dec-08 22:26 
AnswerRe: how to write the values in textbox to xml format.. Pin
Eddy Vluggen19-Dec-08 22:33
professionalEddy Vluggen19-Dec-08 22:33 
GeneralRe: how to write the values in textbox to xml format.. Pin
samsonx19-Dec-08 22:49
samsonx19-Dec-08 22:49 
GeneralRe: how to write the values in textbox to xml format.. Pin
Eddy Vluggen19-Dec-08 23:01
professionalEddy Vluggen19-Dec-08 23:01 
GeneralRe: how to write the values in textbox to xml format.. Pin
samsonx19-Dec-08 23:14
samsonx19-Dec-08 23:14 
Hi,

I created the code and run it but it's not creating a new xml file... I pasted my code her... please let me know what to correct it

string asXML = @"" + Environment.NewLine;
asXML += @"" + txtid.Text + @"" + Environment.NewLine;
asXML += @"" + txtname.Text + @"" + Environment.NewLine;
asXML += @"" + txtage.Text + @"" + Environment.NewLine;
asXML += @"";

FileStream test= new FileStream("test.xml", FileMode.OpenOrCreate, FileAccess.Write);

StreamWriter sw = new StreamWriter(test);

sw.Write("Hello file system world!");

sw.Close();

test.Close();


It's not creating the test.xml file... Please correct it...

Thanks in advance

Regards,
Samson

GeneralRe: how to write the values in textbox to xml format.. Pin
samsonx19-Dec-08 23:29
samsonx19-Dec-08 23:29 
GeneralRe: how to write the values in textbox to xml format.. Pin
Christian Graus19-Dec-08 23:32
protectorChristian Graus19-Dec-08 23:32 
GeneralRe: how to write the values in textbox to xml format.. Pin
Christian Graus19-Dec-08 23:31
protectorChristian Graus19-Dec-08 23:31 
GeneralRe: how to write the values in textbox to xml format.. Pin
Eddy Vluggen20-Dec-08 1:57
professionalEddy Vluggen20-Dec-08 1:57 
QuestionClick Event Pin
hotthoughtguy19-Dec-08 22:19
hotthoughtguy19-Dec-08 22:19 
AnswerRe: Click Event Pin
Eddy Vluggen19-Dec-08 22:44
professionalEddy Vluggen19-Dec-08 22:44 
AnswerRe: Click Event Pin
Lev Danielyan19-Dec-08 22:46
Lev Danielyan19-Dec-08 22:46 
AnswerRe: Click Event Pin
Christian Graus19-Dec-08 23:34
protectorChristian Graus19-Dec-08 23:34 
QuestionImplementation of logarithms in asp.net Pin
elci19-Dec-08 21:51
elci19-Dec-08 21:51 
AnswerRe: Implementation of logarithms in asp.net Pin
Brij19-Dec-08 22:16
mentorBrij19-Dec-08 22:16 
GeneralRe: Implementation of logarithms Pin
elci19-Dec-08 22:21
elci19-Dec-08 22:21 
GeneralRe: Implementation of logarithms Pin
Lev Danielyan19-Dec-08 22:51
Lev Danielyan19-Dec-08 22:51 
GeneralRe: Implementation of logarithms Pin
elci19-Dec-08 23:42
elci19-Dec-08 23:42 
GeneralRe: Implementation of logarithms Pin
Lev Danielyan19-Dec-08 23:51
Lev Danielyan19-Dec-08 23:51 
AnswerRe: Implementation of logarithms in asp.net Pin
Christian Graus19-Dec-08 23:35
protectorChristian Graus19-Dec-08 23:35 
AnswerRe: Implementation of logarithms in asp.net Pin
Eddy Vluggen20-Dec-08 1:58
professionalEddy Vluggen20-Dec-08 1:58 
QuestionCrystal Report 2008 connected to oracle 9 Failed to Load Database Information Pin
jovileung19-Dec-08 21:21
jovileung19-Dec-08 21:21 

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.