Problem in saving file

Apr 28 2010 9:42 AM
Hi,

I am trying to save a text file for which i have written the following code in the button click event

 if (saveFileDialog1.ShowDialog() == DialogResult.OK)
            {
                MessageBox.Show(saveFileDialog1.FileName);
                
            }


the program is executing successfully but the file which i am trying to save is not saved successfully.
plz help to solve out my problem.

Thanks in advance.

Answers (1)