I have this methode:
private void txtbNotes_TextChanged(object sender, EventArgs e)
TreeNode node = tvNotes.SelectedNode;
DataRow ParentRow = null;
ParentRow = (DataRow)node.Tag;
ParentRow["Data"] = txtbNotes.Text; <===================
Instead of using the txtbNotes.Text into the column Data of a database
I want to use a blob feature. So the text of the txtbNotes have to be
converted to bytes and put it in the column Data.
I have found this on the internet:
Byte byteBLOBData = new Byte;
byteBLOBData = (Byte)(row["DOCLIST"]);
String s = System.Text.Encoding.UTF8.GetString(byteBLOBData);
But i don't know how to implement it. Who knows the answer
and is willing to help me?
Greetings, Peter Kiers