I have to save some rich text into my sql server database, and my solution is serializing the string of rtf (achieved from RichTextBox.Rtf) into a stream, then converting this stream into an array of bytes (byte[]), and lastly, save these bytes into a field of binary (or image) of a Sql server table. This solution can store the richtext well but I don't know how to search the saved data for some keyword, could you tell me how to do that?
If possible, could you help me achieve both of the two purposes: 1. Save richtext.
2. Search the saved richtext.
Your help would be highly appreciated!