Create table PhotoTest
(
  ID 
int identity(1,1primary key,
  Photo 
image
)

 

<connectionStrings>
    
<add name="ConnSqlStr" connectionString="Data Source = (local); User ID = sa; password=***; DataBase = Test " providerName="System.Data.SqlClient"/>
</connectionStrings>

 

 System.Drawing.Image.FromStream(ms);
    img.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
    con.Close();
}

相关文章:

  • 2021-06-06
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-27
  • 2022-12-23
  • 2022-03-02
  • 2021-09-10
  • 2022-01-13
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案