Microsoft
Software
Hardware
Network
Question : Downloading binary files
Hi,
I have set-up a form that inserts records into a table. One of the fields is varbinary and data is inserted into it via this code:
Dim UploadMSG As FileUpload = _
CType(DetailsView1.FindCon
trol("File
Upload1"),
FileUpload)
e.Values("Data") = UploadMSG.FileBytes
I've now added a gridview control to display the data back. How can I add a field to this that allows the file (which will be msg format) to be opened or downloaded?
Answer : Downloading binary files
Hi there
Try the following:
Dim item As ListViewItem
For Each item In lvMatchedDvid.SelectedItem
s
item.Remove()
Next
Random Solutions
varbinary in equality condition
How to fix assignment of 'ptr to const' to 'ptr' compile error?
Offline file missing - synchronisation failing for some files
Split specific Cross tab table rows based on criteria - keeping all other column data intact.
SQL Server 2008 - SEARCH for a Database Table FIELD>..???
social networking content management system
How to know if SCR replication is set up on Exchange 2007?
Difference between 3d modelling and 3d at cinemas
Can’t run GUI using ssh –Y
Access 2007 --- Run-time 2455: You entered an expression that has an invalid reference to the property LinkChildFields.