Forum Discussion
1 Reply
- SuhasCreator III
Hello Hafedh_Elfaleh,
Which kind of file you want to write e.g .xls,xml for simple txt file
Based on file type your code will be differ.
You can write file writing code in your aras method.
Below is the sample code to write a txt file.
StringBuildercsv = new StringBuilder();csv.Append("Sample data");
//file path(string): where you want to save this file physically
string filePath=@"D:\SupplimentLabLoc\abc.txt";File.WriteAllText(filePath, csv.ToString());Regards,
Suhas