Pages
Home
React JS
React Native
SQL Server
C#.net
Interview
Videos
Angular
ASP.Net
AJAX
Contact Us
9 May 2014
Saving a file in a specified folder inside my project using c#
var
path =
String
.Format(
"{0}LogFiles\\Logdata.txt"
,
AppDomain
.CurrentDomain.BaseDirectory);
oStreamWriter =
new
StreamWriter
(path,
true
);
oStreamWriter.WriteLine(
"
Your text
"
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment