Click here to Skip to main content
14,387,840 members

.NET Framework

 
GeneralRe: Multithreading Local Variables Pin
MikeMarq7-Mar-07 11:49
MemberMikeMarq7-Mar-07 11:49 
AnswerRe: Multithreading Local Variables Pin
arcticbrew7-Mar-07 20:19
Memberarcticbrew7-Mar-07 20:19 
QuestionDo Events causing overflow Pin
earlgraham7-Mar-07 9:04
Memberearlgraham7-Mar-07 9:04 
AnswerRe: Do Events causing overflow Pin
Scott Page7-Mar-07 13:46
professionalScott Page7-Mar-07 13:46 
GeneralRe: Do Events causing overflow Pin
earlgraham8-Mar-07 12:46
Memberearlgraham8-Mar-07 12:46 
Questionserialization of derived classes Pin
AndyKEnZ7-Mar-07 7:01
MemberAndyKEnZ7-Mar-07 7:01 
Questionhow to insert background image on report? Pin
priya_p2336-Mar-07 17:38
Memberpriya_p2336-Mar-07 17:38 
AnswerRe: how to insert background image on report? Pin
nare7006-Mar-07 17:59
Membernare7006-Mar-07 17:59 
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(<file path="">, 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

Question.NET 2.0 on WInNT Pin
bitfch6-Mar-07 10:54
Memberbitfch6-Mar-07 10:54 
AnswerRe: .NET 2.0 on WInNT Pin
Dave Kreskowiak6-Mar-07 11:28
mveDave Kreskowiak6-Mar-07 11:28 
GeneralRe: .NET 2.0 on WInNT Pin
bitfch6-Mar-07 11:32
Memberbitfch6-Mar-07 11:32 
GeneralRe: .NET 2.0 on WInNT Pin
Dave Kreskowiak6-Mar-07 13:12
mveDave Kreskowiak6-Mar-07 13:12 
AnswerRe: .NET 2.0 on WInNT Pin
Dan Neely7-Mar-07 3:58
MemberDan Neely7-Mar-07 3:58 
GeneralRe: .NET 2.0 on WInNT Pin
Dave Kreskowiak7-Mar-07 6:53
mveDave Kreskowiak7-Mar-07 6:53 
GeneralRe: .NET 2.0 on WInNT Pin
Dan Neely7-Mar-07 8:51
MemberDan Neely7-Mar-07 8:51 
QuestionRemoting and Datasets Pin
Kir Birger6-Mar-07 10:11
MemberKir Birger6-Mar-07 10:11 
AnswerRe: Remoting and Datasets Pin
kubben6-Mar-07 11:08
Memberkubben6-Mar-07 11:08 
GeneralRe: Remoting and Datasets Pin
Kir Birger6-Mar-07 11:43
MemberKir Birger6-Mar-07 11:43 
Questionwww.bozemanblog.com Pin
aleks_malcev6-Mar-07 3:05
Memberaleks_malcev6-Mar-07 3:05 
QuestionMultiple projects in 1 solution Pin
aasstt6-Mar-07 0:05
Memberaasstt6-Mar-07 0:05 
AnswerRe: Multiple projects in 1 solution Pin
sakssp6-Mar-07 0:36
Membersakssp6-Mar-07 0:36 
AnswerRe: Multiple projects in 1 solution Pin
Hesham Amin6-Mar-07 1:11
MemberHesham Amin6-Mar-07 1:11 
QuestionAn app in .NET 2 with WPF Rendering? Pin
Manaxter5-Mar-07 22:01
MemberManaxter5-Mar-07 22:01 
AnswerRe: An app in .NET 2 with WPF Rendering? Pin
Mike Dimmick6-Mar-07 3:37
MemberMike Dimmick6-Mar-07 3:37 
Question"Polling" the SMTP server before .SEND("",""..) Pin
bgriffin_tpa5-Mar-07 17:38
Memberbgriffin_tpa5-Mar-07 17:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.