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 = strModConnection
sqlString
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 __________________________________________________________________________ 自己顶一下 __________________________________________________________________________