Code Experts !
it is possible to method to store blobs / wealthy text memos as rtf programmatically on server hard disc rather than the database ?
i wish to write inside a memo area and store it using identifiers like periods and time stamps for instance writing a memo using the session "subject" and session "dateANDtime" to become saved as "mysubject-12/12/2010-11:56pm.rtf"
i want obviously an indicator how you can retrieve the file. can one build hyperlink programmatically?
If you are on SQL 2008, perform a look for FILESTREAM. Which should solve your condition.
Object obj = // your object XmlSerializer serializer = new XmlSerializer(this.GetType()); TextWriter textWriter = new StreamWriter(context.Server.MapPath("~/App_Data/Name.xml")); serializer.Serialize(textWriter, this); textWriter.Close();
Store them in files and write individuals files towards the drives using