471,317 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

need help immediatly

HI,

I am subscriber of these group and i need immediate help for my problem

My problem as under

I am using Asp.net "aspx" and Database is oracle 10g

I am storing a "jpeg","jpg","img" all image file in to database using
asp.net application
and also read it from database and view in the aspx page- these done
successfully

but now i face the problem that i have to store a different format file
like "word file"
,"mpeg" ".dmp" and also any format that i want to store in database
and

view it to its original format as it store.
how can i do?
i am using "asp.net " code behind " aspx.vb" and db is oracle 10g
please sent me code or any kind of help on my id
-"tu**********@yahoo.co.in"

also cc to "tu************@gmail.com"
thanks in advance to all user of these groups
i hope all members try to help me , thanx

Jan 23 '06 #1
3 956
>> i hope all members try to help me

Thats a lot of help....
I usually store file name with my binary data. When I decode the data
and save it to file, I use the file name associated with it in the
database.
So as long as you also save "blah.doc" or "blah.jpg" or "blah.sln" then
the file associations will work when the user downloads/opens the file.

Steve

Jan 23 '06 #2
Steven Nagy wrote:
i hope all members try to help me


Thats a lot of help....
I usually store file name with my binary data. When I decode the data
and save it to file, I use the file name associated with it in the
database.
So as long as you also save "blah.doc" or "blah.jpg" or "blah.sln" then
the file associations will work when the user downloads/opens the file.

Steve


You'd also want to set the MIME type accordingly. Other than that,
storing any file in a DB is no different...
Jan 23 '06 #3
Hi,

"tushardave" <tu************@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
HI,

I am subscriber of these group and i need immediate help for my problem
as everybody else I think :)

view it to its original format as it store.
how can i do?
Exactly the same way, you would only have to store the extension as this
will be provided to the client browser for it to select the correct viewer.

i am using "asp.net " code behind " aspx.vb" and db is oracle 10g
note that this is a C# group, the code you will receive is not in VB !

please sent me code or any kind of help on my id
-"tu**********@yahoo.co.in"

also cc to "tu************@gmail.com"


better you check back here
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Jan 23 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Ha ha | last post: by
4 posts views Thread by Sahil Malik | last post: by
reply views Thread by Balázs Katona | last post: by
reply views Thread by tushardave | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.