how to insert background image on report?
-
good morning freinds, i m designing crystal report in.net framework i.e. bundeled version. i am preparing payslip, for that i wnt to place watermark image on page. whn i insert picture by right clicking on the report then it is inserting my backgruound image but lines present on my report go backward & also not shown whn i run the project. i rightclick on image & send it backward but it lines will not cum in front. & there is no option of line to bring it forward . please anyone tell me how should i place background image on my report. thanks for any help in advance.
"The Difficult i can do it now... The Impossible will take a little longer."
-
good morning freinds, i m designing crystal report in.net framework i.e. bundeled version. i am preparing payslip, for that i wnt to place watermark image on page. whn i insert picture by right clicking on the report then it is inserting my backgruound image but lines present on my report go backward & also not shown whn i run the project. i rightclick on image & send it backward but it lines will not cum in front. & there is no option of line to bring it forward . please anyone tell me how should i place background image on my report. thanks for any help in advance.
"The Difficult i can do it now... The Impossible will take a little longer."
hi priya i have got complete payroll source code if you want it send mail or IM in yahoo my yahoo id is nare700 my emails nare700@yahoo.com nare700@gmail.com I have read the previous posting in this forum. In it, it mentioned the use of dataset to achieve this. I create a dataset which one of the field in the data table is base64binary. After retrieval of the file path, open the file and store the image file as array of byte in that column. When you bind the dataset to your report as the data source, you can easily drag and drop the image field to your report. Conversion of image file to array of byte: Dim fs As New System.IO.FileStream(, IO.FileMode.Open) Dim br As New System.IO.BinaryReader(fs) Dim arrayByte() As Byte arrayByte = br.ReadBytes(CInt(fs.Length)) br.Close() fs.Close() Hope this help!
naresh