How to set the image field data to some cell of Excel?
-
There is a image field in the table, and I save the picture into this field, now I use below code, how to set the value of the Tables[0].Rows[0][0] to one cell of Excel sheet? string strCon = "Data Source=0;Initial Catalog=dbtest;Persist Security Info=True;User ID=sa;Password=ok"; SqlDataAdapter m_da = new SqlDataAdapter("select fa from G_Control", strCon); DataSet ds = new DataSet(); m_da.Fill(ds); Thanks in advance!
-
There is a image field in the table, and I save the picture into this field, now I use below code, how to set the value of the Tables[0].Rows[0][0] to one cell of Excel sheet? string strCon = "Data Source=0;Initial Catalog=dbtest;Persist Security Info=True;User ID=sa;Password=ok"; SqlDataAdapter m_da = new SqlDataAdapter("select fa from G_Control", strCon); DataSet ds = new DataSet(); m_da.Fill(ds); Thanks in advance!
who can help me on it ?many thanks!