Peter Kiers
asked on
Save the data as BLOB to a database
Hi,
I have this code to save the data from a txtbox into a database column called Data.
But I want it to be saved as blob data?
Who can help me?
Peter
I have this code to save the data from a txtbox into a database column called Data.
But I want it to be saved as blob data?
Who can help me?
Peter
private void txtbNotes_TextChanged(object sender, EventArgs e)
{
TreeNode node = tvNotes.SelectedNode;
DataRow ParentRow = null;
ParentRow = (DataRow)node.Tag;
ParentRow["Data"] = txtbNotes.Text;
}
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.