日期:2014-05-16  浏览次数:20425 次

C#保存文件或读取数据库文件 另存为

///?<summary>
????????
///?保存文件到数据库
????????
///?</summary>
????????
///?<param?name="sender"></param>
????????
///?<param?name="e"></param>
????????private?void?button1_Click(object?sender,?EventArgs?e)
????????{
????????????
string?conn?=?@"Data?Source=YANGYIBANG\SQLEXPRESS;Initial?Catalog=joe;Integrated?Security=True";
????????????SqlConnection?cn?