[VB.NET]FastReport3,VS.net上使用,如何把修改好的格式存回数库里???

前端之家收集整理的这篇文章主要介绍了[VB.NET]FastReport3,VS.net上使用,如何把修改好的格式存回数库里???前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
FastReport3,VS.net上使用,如何把修改好的格式存回数库里??? 从数据库里读取FR格式进行修改,但修改后不知道如何保存到数据库里,请指点指点 Dim sqlConnection1 As New sqlClient.sqlConnection() Dim sqlCommand1 As New sqlClient.sqlCommand() Dim sqlDataReader1 As sqlDataReader Dim FastReport1 As New TfrxReportClass Dim bytData1 As Byte() = Nothing sqlConnection1.ConnectionString = strModConnectionsqlString sqlCommand1.Connection = sqlConnection1 sqlConnection1.Open() sqlCommand1.CommandText = "SELECT * FROM Table1 Where AutoCode=1 " sqlDataReader1 = sqlCommand1.ExecuteReader Do While sqlDataReader1.Read bytData1 = sqlDataReader1.GetValue(sqlDataReader1.GetOrdinal( "FRImage ")) Loop sqlDataReader1.Close() Dim FileStream1 As New System.IO.MemoryStream FileStream1.Write(bytData1,bytData1.Length) FastReport1.LoadReportFromStream(FileStream1) FastReport1.DesignReport() __________________________________________________________________________ FastReport1 不知道是什么东西, 保存数据库我知道是使用 sqlCommand。 sqlCommand1.CommandText = "Update 或者 Insert语句 " sqlCommand1.ExecuteNonQuery __________________________________________________________________________ 自己顶一下 __________________________________________________________________________

猜你在找的VB相关文章