Hello, I am trying to write multiply text from textboxes. I am using this code for a single textbox. Can someone help me to modify this code to write from multiply textboxes. Thank you.
Dim FILE_NAME As String = "C:\ test2.txt"
If System.IO.File.Exists(FILE_NAME) Then
objWriter.Write(Textbox1.Text)
objWriter.Close()
MsgBox("Text written to file")
Else
MsgBox("File doesn't exist")
End if