string query = "SELECT dbo.chektable.image" + "FROM dbo.chektable " + " WHERE ( dbo.chektable.checkid=" + checkbox.Text + ")"; if(con.State==ConnectionState.Closed) con.Open(); SqlCommand re=new SqlCommand(query,con); string str=Convert.ToString(re.ExecuteScalar()); pictureBox1.Image= Image.FromFile(str);// mage=image.fr fromfile(str);
alemba wrote:SELECT dbo.chektable.image" + "FROM dbo.chektable
dbo.chektable.image
FROM
string query = "SELECT dbo.chektable.image FROM dbo.chektable WHERE dbo.chektable.checkid=" + checkbox.Text;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)