here is my code i can't seem to write data on my file.
StreamWriter sw = gcnew StreamWriter(Application::StartupPath + "\\Employee\\" +""+NameE->Text + "" +NumberE->Text + "" +EmailE->Text + ".txt" , true);//Path to write .txt file
sw.WriteLine(label1->Text + " " + NameE->Text);
sw.WriteLine(label2->Text + " " + NumberE->Text);
sw.WriteLine(label3->Text + " " + EmailE->Text);
sw.Close();
I keep Getting this error
Severity Code Description Project File Line Suppression State Error C2664
'System::IO::StreamWriter::StreamWriter(const System::IO::StreamWriter %)': cannot convert argument 1 from 'System::IO::StreamWriter ^' to 'System::IO::Stream ^'t