Hi i'm newbie in C# developer. I would like to save a text-file to database. I watched some videos on Youtube. They use Memorystream to save image:
MemoryStream ms = new MemoryStream();
pictureBox1.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
Now i try to save a text from a textbox? Can i have similar way to do it? Thank you