I just wanna ask how to generate or create textfile, becuase i want to display my data in the database as text.
im using c# in asp.net MVC 3
thank you very m
You can return plain text from an action by assembling a string and returning Content(textString, "text/plain").
Content(textString, "text/plain")