Click here to Skip to main content
15,897,187 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Multithreading Local Variables Pin
MikeMarq7-Mar-07 10:49
MikeMarq7-Mar-07 10:49 
AnswerRe: Multithreading Local Variables Pin
arcticbrew7-Mar-07 19:19
arcticbrew7-Mar-07 19:19 
QuestionDo Events causing overflow Pin
earlgraham7-Mar-07 8:04
earlgraham7-Mar-07 8:04 
AnswerRe: Do Events causing overflow Pin
Scott Page7-Mar-07 12:46
professionalScott Page7-Mar-07 12:46 
GeneralRe: Do Events causing overflow Pin
earlgraham8-Mar-07 11:46
earlgraham8-Mar-07 11:46 
Questionserialization of derived classes Pin
AndyKEnZ7-Mar-07 6:01
AndyKEnZ7-Mar-07 6:01 
Questionhow to insert background image on report? Pin
priya_p2336-Mar-07 16:38
priya_p2336-Mar-07 16:38 
AnswerRe: how to insert background image on report? Pin
nare7006-Mar-07 16:59
nare7006-Mar-07 16: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 9:54
bitfch6-Mar-07 9:54 
AnswerRe: .NET 2.0 on WInNT Pin
Dave Kreskowiak6-Mar-07 10:28
mveDave Kreskowiak6-Mar-07 10:28 
GeneralRe: .NET 2.0 on WInNT Pin
bitfch6-Mar-07 10:32
bitfch6-Mar-07 10:32 
GeneralRe: .NET 2.0 on WInNT Pin
Dave Kreskowiak6-Mar-07 12:12
mveDave Kreskowiak6-Mar-07 12:12 
AnswerRe: .NET 2.0 on WInNT Pin
Dan Neely7-Mar-07 2:58
Dan Neely7-Mar-07 2:58 
GeneralRe: .NET 2.0 on WInNT Pin
Dave Kreskowiak7-Mar-07 5:53
mveDave Kreskowiak7-Mar-07 5:53 
GeneralRe: .NET 2.0 on WInNT Pin
Dan Neely7-Mar-07 7:51
Dan Neely7-Mar-07 7:51 
QuestionRemoting and Datasets Pin
Kir Birger6-Mar-07 9:11
Kir Birger6-Mar-07 9:11 
AnswerRe: Remoting and Datasets Pin
kubben6-Mar-07 10:08
kubben6-Mar-07 10:08 
GeneralRe: Remoting and Datasets Pin
Kir Birger6-Mar-07 10:43
Kir Birger6-Mar-07 10:43 
Questionwww.bozemanblog.com Pin
aleks_malcev6-Mar-07 2:05
aleks_malcev6-Mar-07 2:05 
QuestionMultiple projects in 1 solution Pin
aasstt5-Mar-07 23:05
aasstt5-Mar-07 23:05 
AnswerRe: Multiple projects in 1 solution Pin
sakssp5-Mar-07 23:36
sakssp5-Mar-07 23:36 
AnswerRe: Multiple projects in 1 solution Pin
Hesham Amin6-Mar-07 0:11
Hesham Amin6-Mar-07 0:11 
QuestionAn app in .NET 2 with WPF Rendering? Pin
Manaxter5-Mar-07 21:01
Manaxter5-Mar-07 21:01 
AnswerRe: An app in .NET 2 with WPF Rendering? Pin
Mike Dimmick6-Mar-07 2:37
Mike Dimmick6-Mar-07 2:37 
Question"Polling" the SMTP server before .SEND("",""..) Pin
bgriffin_tpa5-Mar-07 16:38
bgriffin_tpa5-Mar-07 16: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.