String QueryStr = "INSERT INTO MapDataImage VALUES (@Image) SELECT @Source FROM MapDataImage Where columnName ='" + TextBox1.Text + "';";
// TRY THIS: String QueryStr = "INSERT INTO MapDataImage(ImageFieldName) SELECT SourceFieldName FROM MapDataImageTableName Where SearchFieldName = '" + TextBox1.Text + "'";
String QueryStr = "INSERT INTO MapDataImage(ImageFieldName) VALUES ( SELECT SourceFieldName FROM MapDataImageTableName Where SearchFieldName = '" + TextBox1.Text + "'");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)